/* ===================================
   IWMF - International Wedding & MICE Forum
   Sophisticated & Elegant Design
   =================================== */

/* CSS Variables - Neutral Diplomatic Colors */
:root {
    /* Primary Colors - Muted Gold & Blue Slate */
    --color-gold: #C9A961;
    --color-gold-light: #D4BA7F;
    --color-gold-dark: #B89648;
    --color-slate: #2C3E50;
    --color-slate-light: #34495E;
    --color-blue: #3A5A78;
    --color-blue-light: #4A6A88;
    
    /* Neutral Grays */
    --color-white: #FFFFFF;
    --color-off-white: #F8F9FA;
    --color-light-gray: #E8EAED;
    --color-gray: #A0A0A0;
    --color-dark-gray: #5A5A5A;
    --color-charcoal: #2A2A2A;
    
    /* Semantic Colors */
    --color-text-primary: #2A2A2A;
    --color-text-secondary: #5A5A5A;
    --color-text-light: #FFFFFF;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* ===================================
   Reset & Base Styles
   =================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    background-color: var(--color-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-medium);
}

ul {
    list-style: none;
}

/* ===================================
   Typography
   =================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-semibold);
    line-height: 1.3;
    color: var(--color-slate);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: var(--font-weight-bold);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

.lead {
    font-size: 1.25rem;
    line-height: 1.8;
    font-weight: var(--font-weight-normal);
    color: var(--color-slate-light);
}

/* ===================================
   Layout Utilities
   =================================== */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    margin-bottom: var(--spacing-sm);
    color: var(--color-slate);
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
    margin: 0 auto var(--spacing-md);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   Navigation
   =================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all var(--transition-medium);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
}

.logo-container {
    flex-shrink: 0;
}

.logo {
    height: 60px;
    width: auto;
    transition: transform var(--transition-medium);
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-links a {
    font-weight: var(--font-weight-medium);
    color: var(--color-slate);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 4px;
    transition: all var(--transition-medium);
}

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

.nav-links .cta-button {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
    color: var(--color-white);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 6px;
    font-weight: var(--font-weight-semibold);
}

.nav-links .cta-button:hover {
    background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold));
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-slate);
    border-radius: 2px;
    transition: all var(--transition-medium);
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    max-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a2332 0%, #2C3E50 50%, #3A5A78 100%);
    overflow: hidden;
    margin-top: 80px;
    padding: var(--spacing-lg) 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background-image: url("data:image/svg+xml,%3Csvg width='600' height='600' viewBox='0 0 600 600' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23D4BA7F' stroke-width='3' stroke-linecap='round'%3E%3C!-- Outer petals (8 petals) --%3E%3Cpath d='M 300 150 Q 250 200 300 250 Q 350 200 300 150' opacity='0.6'/%3E%3Cpath d='M 407 193 Q 387 243 337 263 Q 357 213 407 193' opacity='0.6'/%3E%3Cpath d='M 450 300 Q 400 300 350 300 Q 400 300 450 300' opacity='0.6'/%3E%3Cpath d='M 407 407 Q 357 387 337 337 Q 387 357 407 407' opacity='0.6'/%3E%3Cpath d='M 300 450 Q 300 400 300 350 Q 300 400 300 450' opacity='0.6'/%3E%3Cpath d='M 193 407 Q 213 357 263 337 Q 243 387 193 407' opacity='0.6'/%3E%3Cpath d='M 150 300 Q 200 300 250 300 Q 200 300 150 300' opacity='0.6'/%3E%3Cpath d='M 193 193 Q 243 213 263 263 Q 213 243 193 193' opacity='0.6'/%3E%3C!-- Inner petals (simpler) --%3E%3Cellipse cx='300' cy='220' rx='40' ry='80' opacity='0.7'/%3E%3Cellipse cx='300' cy='220' rx='40' ry='80' transform='rotate(45 300 300)' opacity='0.7'/%3E%3Cellipse cx='300' cy='220' rx='40' ry='80' transform='rotate(90 300 300)' opacity='0.7'/%3E%3Cellipse cx='300' cy='220' rx='40' ry='80' transform='rotate(135 300 300)' opacity='0.7'/%3E%3Cellipse cx='300' cy='220' rx='40' ry='80' transform='rotate(180 300 300)' opacity='0.7'/%3E%3Cellipse cx='300' cy='220' rx='40' ry='80' transform='rotate(225 300 300)' opacity='0.7'/%3E%3Cellipse cx='300' cy='220' rx='40' ry='80' transform='rotate(270 300 300)' opacity='0.7'/%3E%3Cellipse cx='300' cy='220' rx='40' ry='80' transform='rotate(315 300 300)' opacity='0.7'/%3E%3C!-- Center circle --%3E%3Ccircle cx='300' cy='300' r='50' opacity='0.8' fill='%23E8D4A0' fill-opacity='0.2'/%3E%3Ccircle cx='300' cy='300' r='30' opacity='0.9'/%3E%3C/g%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    animation: lotusRotate 40s linear infinite, lotusPulse 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
    opacity: 0.7;
}

@keyframes lotusRotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes lotusPulse {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.3);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--color-white);
    max-width: 900px;
    padding: 0 var(--spacing-md);
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    color: #F5E6D3;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 0 2px 4px rgba(201, 169, 97, 0.3);
    letter-spacing: 1px;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.2;
    text-transform: capitalize;
}

.hero-tagline {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    color: var(--color-gold-light);
    margin-bottom: var(--spacing-lg);
    font-weight: var(--font-weight-medium);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid rgba(201, 169, 97, 0.5);
    border-radius: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 8px;
}

.scroll-indicator span {
    width: 6px;
    height: 10px;
    background: var(--color-gold);
    border-radius: 3px;
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(20px); opacity: 0.3; }
}

/* ===================================
   Buttons
   =================================== */

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-medium);
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold));
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.btn-light {
    background: var(--color-white);
    color: var(--color-slate);
    box-shadow: var(--shadow-md);
}

.btn-light:hover {
    background: var(--color-off-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-slate);
    transform: translateY(-3px);
}

/* ===================================
   About Section
   =================================== */

.about-section {
    background: var(--color-off-white);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    margin-bottom: var(--spacing-md);
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.highlight-card {
    background: var(--color-white);
    padding: var(--spacing-md);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all var(--transition-medium);
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.highlight-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.highlight-card h3 {
    color: var(--color-slate);
    margin-bottom: var(--spacing-xs);
    font-size: 1.25rem;
}

.highlight-card p {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
}

/* ===================================
   Objectives Section
   =================================== */

.objectives-section {
    background: var(--color-white);
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
    max-width: 1100px;
    margin: 0 auto;
}

.objective-card {
    background: var(--color-off-white);
    padding: var(--spacing-md);
    border-radius: 12px;
    border-left: 4px solid var(--color-gold);
    transition: all var(--transition-medium);
    position: relative;
}

.objective-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--color-gold-dark);
}

.objective-number {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-gold);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

.objective-card h3 {
    color: var(--color-slate);
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
}

.objective-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ===================================
   Focus Areas Section
   =================================== */

.focus-section {
    background: linear-gradient(135deg, #2C3E50 0%, #3A5A78 100%);
    color: var(--color-white);
}

.focus-section .section-title {
    color: var(--color-white);
}

.focus-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    max-width: 1100px;
    margin: 0 auto;
}

.focus-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-medium);
}

.focus-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    border-color: rgba(201, 169, 97, 0.3);
}

.focus-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
}

.focus-icon svg {
    width: 32px;
    height: 32px;
}

.focus-card h3 {
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
}

.focus-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ===================================
   CTA Section
   =================================== */

.cta-section {
    background: linear-gradient(135deg, var(--color-gold-dark) 0%, var(--color-gold) 50%, var(--color-gold-light) 100%);
    color: var(--color-white);
    text-align: center;
    padding: var(--spacing-xl) 0;
}

.cta-content h2 {
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
    font-size: clamp(2rem, 4vw, 2.5rem);
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   FAQ Section
   =================================== */

.faq-section {
    background: var(--color-off-white);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-white);
    border-radius: 12px;
    margin-bottom: var(--spacing-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-medium);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: var(--spacing-md);
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    color: var(--color-slate);
    transition: all var(--transition-medium);
    font-family: var(--font-primary);
}

.faq-question:hover {
    color: var(--color-gold);
}

.faq-icon {
    font-size: 1.75rem;
    font-weight: var(--font-weight-light);
    color: var(--color-gold);
    transition: transform var(--transition-medium);
    flex-shrink: 0;
    margin-left: var(--spacing-sm);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow), padding var(--transition-medium);
    padding: 0 var(--spacing-md);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 var(--spacing-md) var(--spacing-md);
}

.faq-answer p {
    color: var(--color-text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

/* ===================================
   Footer
   =================================== */

.footer {
    background: var(--color-slate);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--spacing-md);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.footer-logo-img {
    height: 80px;
    width: auto;
    filter: brightness(1.2);
}

.footer-tagline {
    font-size: 0.9375rem;
    color: var(--color-gold-light);
    font-weight: var(--font-weight-medium);
}

.footer-info {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    width: 100%;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-xs);
}

.footer-note {
    font-style: italic;
    opacity: 0.6;
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 1024px) and (min-width: 769px) {
    .about-highlights {
        gap: var(--spacing-sm);
    }
    
    .highlight-card {
        padding: 1.5rem;
    }
    
    .highlight-card h3 {
        font-size: 1.125rem;
    }
    
    .highlight-card p {
        font-size: 0.875rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: var(--shadow-lg);
        gap: var(--spacing-sm);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        height: auto;
        min-height: 450px;
        max-height: 600px;
        margin-top: 80px;
        padding: var(--spacing-lg) 0;
    }
    
    .hero::before {
        width: 350px;
        height: 350px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .objectives-grid,
    .focus-grid {
        grid-template-columns: 1fr;
    }
    
    .about-highlights {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: var(--spacing-lg) 0;
    }
    
    .logo {
        height: 50px;
    }
}

@media (max-width: 480px) {
    :root {
        font-size: 14px;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1.125rem;
    }
}

/* ===================================
   Animations & Utilities
   =================================== */

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Smooth transitions for all interactive elements */
button,
a,
.card {
    -webkit-tap-highlight-color: transparent;
}

/* Focus states for accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
}

/* Selection colors */
::selection {
    background: var(--color-gold);
    color: var(--color-white);
}

::-moz-selection {
    background: var(--color-gold);
    color: var(--color-white);
}
