/*
Theme Name: Photo Booth Pro
*/

:root {
    --primary: #FF6B6B;
    --primary-alt: #EE5E5E;
    --secondary: #4ECDC4;
    --dark: #1A1A1A;
    --soft: #F9FAFB;
    --muted: #6B7280;
    --white: #FFFFFF;
    --radius: 20px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* Structural Fixes for Gutenberg */
.site-main {
    width: 100%;
}

.entry-content {
    width: 100%;
    display: flow-root;
}

/* The 'Magic' for Full Width Sections */
.alignfull {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}

.alignwide {
    width: 90vw !important;
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Fallback for regular blocks */
.entry-content>*:not(.alignfull):not(.alignwide) {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Header & Nav */
.navbar {
    height: 100px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 9999;
}

.nav-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 900;
}

.logo i {
    background: var(--primary);
    color: white;
    padding: 0.5rem;
    border-radius: 12px;
}

/* WP Blocks Customization */
.wp-block-group {
    padding: 4rem 0;
}

.has-soft-bg-background-color {
    background-color: var(--soft) !important;
}

/* Buttons */
.wp-block-button__link {
    background: var(--dark) !important;
    color: var(--white) !important;
    padding: 1.25rem 2.5rem !important;
    border-radius: 100px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: 0.3s ease !important;
    border: none !important;
}

.is-style-outline .wp-block-button__link {
    background: transparent !important;
    color: var(--dark) !important;
    border: 2px solid var(--dark) !important;
}

.wp-block-button__link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Typography Colors */
.has-text-muted-color {
    color: var(--muted) !important;
}

/* Custom Hero Tag */
.hero-tag {
    background: rgba(255, 107, 107, 0.1);
    color: var(--primary);
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.875rem;
    display: inline-block;
    margin-bottom: 2rem;
}

/* FAQ Details */
.wp-block-details {
    background: white !important;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.wp-block-details summary {
    padding: 1.5rem 2rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.wp-block-details[open] summary {
    border-bottom: 1px solid #F3F4F6;
}

.wp-block-details p {
    padding: 1.5rem 2rem;
    margin: 0;
}

/* Column Fixes */
.wp-block-columns {
    display: flex !important;
    gap: 2rem !important;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 100px 0 50px;
}

@media (max-width: 768px) {
    .wp-block-columns {
        flex-direction: column !important;
    }

    h1 {
        font-size: 2.5rem !important;
    }
}