/* ==========================================================================
   GLOWUP BRIDAL MAKEOVER - REUSABLE GLASSMORPHISM DESIGN SYSTEM
   WIDESCREEN DESKTOP MAX-WIDTH: 1280PX
   ========================================================================== */

/* 1. Global CSS Variables */
:root {
    /* Color Palette */
    --bg-dark: #0d0914;
    --accent-gold: #EFBF04; /* Requested Heading Gold Color (#EFBF04) */
    --accent-gold-glow: rgba(239, 191, 4, 0.35);
    --accent-rose: #e8a598;
    --text-main: #f8f9fa;
    --text-muted: #c8cbd4;
    
    /* Glassmorphism Settings */
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-bg-hover: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-border-hover: rgba(239, 191, 4, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.45);
    --glass-blur: blur(16px);
    
    /* Custom Google Fonts */
    --font-heading: 'Cookie', cursive;
    --font-body: 'Elms Sans', sans-serif;
    
    /* Layout Constants */
    --max-content-width: 1280px; /* Confirmed 1280px Content Width for Widescreen Desktops */
    --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 18px;
}

/* 2. Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    border: none;
    outline: none;
    background: none;
    font-family: inherit;
}

/* 3. Ambient Glowing Background Orbs */
.glow-sphere {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.5;
}

.sphere-1 {
    width: 450px;
    height: 450px;
    background: #6b21a8;
    top: -100px;
    left: -100px;
}

.sphere-2 {
    width: 500px;
    height: 500px;
    background: #9f1239;
    top: 40%;
    right: -150px;
}

.sphere-3 {
    width: 400px;
    height: 400px;
    background: #d97706;
    bottom: -100px;
    left: 20%;
}

/* 4. Core Glass Utility Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    transition: var(--transition);
}

.glass-card:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    transform: translateY(-4px);
}

/* 5. Navigation Bar (Max-Width: 1280px) */
.glass-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(13, 9, 20, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 5%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-content-width);
    margin: 0 auto;
    width: 100%;
}

.brand-logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--accent-gold);
    line-height: 1;
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 13pt;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-gold);
}

/* 6. Typography Styles (Cookie font + #EFBF04 Gold Color) */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--accent-gold); /* Color: #EFBF04 */
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Requested Base Size for H1: 30pt */
h1 {
    font-size: 30pt;
    line-height: 1.3;
    margin-bottom: 1.2rem;
}

/* Section H2 Headings */
h2 {
    font-size: 28pt;
    text-align: center;
    margin-bottom: 0.5rem;
}

/* Subheadings H3 */
h3 {
    font-size: 22pt;
    margin-bottom: 0.5rem;
}

/* Paragraph Texts: Elms Sans Font, Requested Size: 13pt */
p, li, span, a, label, input {
    font-family: var(--font-body);
}

p {
    font-size: 13pt;
    line-height: 1.6;
    color: var(--text-main);
}

/* 7. Buttons & Badges */
.glass-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 13pt;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.glass-btn-primary {
    background: linear-gradient(135deg, var(--accent-gold), #c49a03);
    color: #000;
    border: none;
    box-shadow: 0 4px 15px var(--accent-gold-glow);
}

.glass-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(239, 191, 4, 0.6);
}

.glass-btn-accent {
    background: rgba(239, 191, 4, 0.15);
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    backdrop-filter: blur(8px);
}

.glass-btn-accent:hover {
    background: var(--accent-gold);
    color: #000;
}

.glass-btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
}

.glass-btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
}

.glass-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(239, 191, 4, 0.1);
    border: 1px solid var(--accent-gold);
    border-radius: 20px;
    color: var(--accent-gold);
    font-size: 11pt;
    margin-bottom: 1rem;
}

/* 8. Sections & Layouts (Constrained to 1280px Content Width) */
.section-padding {
    padding: 5rem 5%;
    max-width: var(--max-content-width);
    margin: 0 auto;
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header p {
    color: var(--text-muted);
}

.grid {
    display: grid;
    gap: 1.8rem;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

/* 2x2 Grid for Studio Locations */
.grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* 9. Hero Section with Blurred Background Image Accent */
.hero-section {
    padding: 6rem 5% 4rem;
    max-width: var(--max-content-width);
    margin: 0 auto;
    width: 100%;
}

.hero-glass-bg {
    position: relative;
    text-align: center;
    max-width: 950px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(13, 9, 20, 0.85), rgba(25, 18, 38, 0.82)), 
                url('images/gallery-10.jpg') center/cover no-repeat;
    border: 1px solid var(--glass-border-hover);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin: 2.5rem 0;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 28pt;
    font-weight: 400;
    color: var(--accent-gold);
}

.stat-label {
    font-size: 12pt;
    color: var(--text-muted);
}

/* 10. Gallery Grid Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
}

.gallery-card {
    position: relative;
    padding: 0;
    overflow: hidden;
    border-radius: var(--border-radius);
    height: 380px;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(13, 9, 20, 0.95), rgba(13, 9, 20, 0.2), transparent);
    backdrop-filter: blur(6px);
    transition: var(--transition);
}

.gallery-overlay h4 {
    color: var(--accent-gold);
    font-size: 18pt;
    line-height: 1.1;
}

.gallery-overlay p {
    font-size: 11pt;
    color: var(--text-main);
    margin-top: 0.2rem;
}

.gallery-card:hover img {
    transform: scale(1.08);
}

.gallery-card:hover .gallery-overlay {
    background: linear-gradient(to top, rgba(13, 9, 20, 0.98), rgba(13, 9, 20, 0.6));
}

/* 11. Branch Cards & Address Styling */
.branch-card h3 {
    color: var(--accent-gold);
}

.branch-tag {
    font-size: 10pt;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-rose);
    margin-bottom: 0.8rem;
}

.address-text {
    font-size: 13pt;
    line-height: 1.5;
    color: var(--text-main);
}

.branch-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 13pt;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* CTA Banner Layout (Button Placed BELOW the Text) */
.banner-glass-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    background: linear-gradient(135deg, rgba(239, 191, 4, 0.1), rgba(13, 9, 20, 0.85)), 
                url('images/gallery-3.jpg') center/cover no-repeat;
}

.banner-cta-below {
    margin-top: 0.5rem;
}

/* 12. Quick Booking Modal Popup */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-glass {
    position: relative;
    background: rgba(22, 16, 32, 0.95);
    border: 1px solid var(--glass-border-hover);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    width: 90%;
    max-width: 500px;
    transform: scale(0.85);
    transition: var(--transition);
}

.modal-overlay.active .modal-glass {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--accent-gold);
}

.modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.booking-form .form-group {
    margin-bottom: 1.2rem;
    text-align: left;
}

.booking-form label {
    display: block;
    font-size: 11pt;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.captcha-q {
    color: var(--accent-gold);
    font-weight: bold;
}

.booking-form input {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-main);
    font-size: 12pt;
    outline: none;
    transition: var(--transition);
}

.booking-form input:focus {
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.1);
}

.form-submit-btn {
    width: 100%;
    margin-top: 1rem;
}

/* 13. Glass Footer (Max-Width 1280px) */
.glass-footer {
    background: rgba(10, 6, 15, 0.85);
    border-top: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 4rem 5% 2rem;
}

.footer-container {
    max-width: var(--max-content-width);
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.footer-col h4 {
    color: var(--accent-gold);
    font-size: 18pt;
    margin-bottom: 1.2rem;
}

.footer-desc {
    font-size: 12pt;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    font-size: 13pt;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
}

.footer-bottom p {
    font-size: 11pt;
    color: var(--text-muted);
}

/* 14. Responsive Layout Breakdown */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .grid-2x2 {
        grid-template-columns: 1fr;
    }
    h1 {
        font-size: 24pt;
    }
    h2 {
        font-size: 22pt;
    }
    p {
        font-size: 12pt;
    }
}