/*
Theme Name: AF Wedding Premium
Theme URI: https://afmedia.ie/themes/af-wedding-premium
Author: Andrei Fechete
Author URI: https://afmedia.ie
Description: A premium, modern, and high-performance Event Management platform for wedding exhibitions.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: af-wedding-premium
Tags: wedding, event, exhibition, modern, premium, gsap, elementor

--------------------------------------------------------------
>>> TABLE OF CONTENTS:
1.  Variables & Design Tokens
2.  Reset & Base Styles
3.  Typography
4.  Layout & Grid
5.  Buttons & UI Components
6.  Header & Navigation
7.  Hero & Sliders
8.  Sections & Cards
9.  Floating Wedding Decorations
10. Animations (GSAP Prep)
11. Footer
12. Responsive Design
-------------------------------------------------------------- */

/* 1. Variables & Design Tokens */
:root {
    /* Primary Palette */
    --gold-primary: #CDB778;
    --gold-light: #dfcc9a;
    --gold-dark: #b59e5f;
    --navy-primary: #122632;
    --navy-light: #1e3d50;
    --navy-dark: #0a1820;
    
    /* Accents */
    --accent-soft: #fdfaf3;
    --accent-rose: #f8e8e8;
    --text-main: #333333;
    --text-muted: #666666;
    --white: #ffffff;
    
    /* Effects */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 20px 40px rgba(0, 0, 0, 0.1);
    --shadow-premium: 0 30px 60px rgba(18, 38, 50, 0.15);
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --transition-fast: all 0.2s ease;
    
    /* Grid */
    --container-xl: 1320px;
}

/* 2. Reset & Base Styles */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    padding: 0;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
ul { list-style: none; padding: 0; margin: 0; }

/* 3. Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1rem;
    color: var(--navy-primary);
}

h1 { font-size: clamp(2.5rem, 8vw, 4.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: 1.75rem; }

p { margin-bottom: 1.5rem; }
.text-gold { color: var(--gold-primary); }
.text-uppercase { text-transform: uppercase; letter-spacing: 2px; }

/* 4. Layout & Grid */
.container {
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 20px;
}

.section { padding: 100px 0; position: relative; }
.section-bg-soft { background-color: var(--accent-soft); }

/* Ornamental Section Dividers */
.section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 40px;
    background: url('assets/images/floral-divider-gold.png') no-repeat center;
    background-size: contain;
    opacity: 0.3;
}

.section-bg-soft::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    opacity: 0.2;
}

.flex-center { display: flex; align-items: center; justify-content: center; }

/* 15. Responsive Fixes */
@media (max-width: 991px) {
    .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-2 { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }
    .hero-fallback-luxury h1 { font-size: 36px; }
}

@media (max-width: 767px) {
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .site-header { padding: 10px 0; }
    .hero-fallback-luxury h1 { font-size: 28px; }
    .about-visual { margin-top: 40px; }
    .mobile-nav-panel { width: 85%; }
}
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }

/* 5. Buttons & UI Components */
.btn-premium {
    display: inline-block;
    padding: 18px 35px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-size: 14px;
    text-align: center;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: var(--navy-primary);
    box-shadow: 0 10px 20px rgba(205, 183, 120, 0.3);
}

.btn-gold:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(205, 183, 120, 0.5);
}

.btn-navy {
    background: var(--navy-primary);
    color: var(--white);
}

.btn-navy:hover {
    background: var(--navy-light);
    transform: translateY(-5px);
}

/* 6. Header & Navigation */
.site-header {
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 20px 0;
}

.header-v1.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

.sticky-header.is-sticky {
    position: fixed;
    top: 0;
    padding: 10px 0;
    background: var(--white);
    box-shadow: var(--shadow-soft);
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.nav-menu, .main-navigation ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-menu a, .main-navigation ul a {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    color: var(--navy-primary);
}

.nav-menu a::after, .main-navigation ul a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-primary);
    transition: var(--transition-fast);
}

.nav-menu a:hover::after, .main-navigation ul a:hover::after { width: 100%; }

/* 7. Hero & Sliders */
.hero-slider {
    height: 100vh;
    position: relative;
    background: var(--navy-dark);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    z-index: 10;
    width: 100%;
    max-width: 900px;
    padding: 0 20px;
}

.slide-subtitle {
    font-family: 'Outfit', sans-serif;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 20px;
    display: block;
}

/* 9. Floating Wedding Decorations */
.floating-petal {
    position: absolute;
    pointer-events: none;
    z-index: 5;
    opacity: 0.6;
}

.decoration-ribbon {
    position: absolute;
    width: 100%;
    height: 100px;
    background-repeat: repeat-x;
    background-position: center;
    pointer-events: none;
}

/* 13. Premium Wedding Aesthetics */
body {
    background-image: url('assets/images/bg-damask.png');
    background-attachment: fixed;
}

/* Scroll to Top Circle - Moved to Right Above Chatbot */
#afwp-scroll-top {
    position: fixed;
    bottom: 110px; /* Above Chatbot Bubble */
    right: 32px;
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    z-index: 99999;
    cursor: pointer;
    box-shadow: var(--shadow-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    opacity: 0;
    visibility: hidden;
}

#afwp-scroll-top.active { opacity: 1; visibility: visible; }
#afwp-scroll-top svg { position: absolute; width: 60px; height: 60px; transform: rotate(-90deg); }
#afwp-scroll-top circle { fill: none; stroke: var(--gold-primary); stroke-width: 4; stroke-dasharray: 188.5; stroke-dashoffset: 188.5; transition: stroke-dashoffset 0.1s linear; }
#afwp-scroll-top i { color: var(--navy-primary); font-size: 18px; z-index: 2; }

/* Floating Wedding Ornaments */
.floating-ornament { position: fixed; pointer-events: none; z-index: 1000; opacity: 0.4; pointer-events: none; }
.ornament-petal { width: 30px; }
.ornament-sparkle { width: 15px; }

/* 14. Responsive & Mobile Sidebar */
.mobile-nav-panel { position: fixed; top:0; right:0; width: 320px; height: 100%; background: var(--navy-primary); z-index: 2000; transform: translateX(100%); transition: var(--transition-smooth); padding: 50px 30px; }
.mobile-nav-panel.active { transform: translateX(0); }
.mobile-nav-close { position: absolute; top: 20px; left: 20px; color: #fff; font-size: 24px; cursor: pointer; }
.mobile-nav-menu { margin-top: 50px; }
.mobile-nav-menu a { display: block; color: #fff; font-size: 20px; font-weight: 700; font-family: 'Cormorant Garamond', serif; margin-bottom: 20px; }
.mobile-nav-overlay { position: fixed; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.6); z-index: 1999; opacity:0; visibility:hidden; transition: 0.3s; }
.mobile-nav-overlay.active { opacity:1; visibility:visible; }
