/* Color Variables - Light Premium Palette */
:root {
    --primary-color: #d4af37; /* Gold color from the logo */
    --primary-dark: #b5952f;
    --text-dark: #2c3e50;
    --text-light: #606f7b;
    --bg-main: #fcfcfc;
    --bg-light: #f4f6f8;
    --bg-white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

p {
    color: var(--text-light);
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    color: #fff;
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    transition: var(--transition);
    padding: 15px 0;
}

header.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.98);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav {
    display: flex;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.logo-text h1 {
    font-size: 20px;
    color: #000;
    letter-spacing: 1px;
    margin: 0;
}

.logo-text p {
    font-size: 10px;
    color: var(--text-light);
    margin: 0;
    letter-spacing: 2px;
    font-weight: 600;
    white-space: nowrap; /* Fix: Prevent truncation of text in the logo subtext */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links li {
    display: flex;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    font-size: 15px;
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-links a:not(.nav-btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:not(.nav-btn):hover::after,
.nav-links a:not(.nav-btn).active::after {
    width: 100%;
}

.nav-links a:not(.nav-btn):hover {
    color: var(--primary-color);
}

.nav-btn {
    padding: 8px 20px;
    font-size: 14px;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background: radial-gradient(circle at 25% 50%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.7) 35%, rgba(255, 255, 255, 0) 70%), url("../img/background.74e170ce942d.png") 0% center/cover no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 50%;
    height: 140%;
    background-color: rgba(212, 175, 55, 0.15);
    transform: rotate(15deg);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
    margin-left: 10%;
}

.hero h2 {
    font-size: 18px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.hero h1 {
    font-size: 54px;
    margin-bottom: 20px;
    color: #111;
    line-height: 1.1;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 500px;
    color: #333;
    font-weight: 400;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: #111;
}

.underline {
    height: 3px;
    width: 60px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.features-list {
    list-style: none;
    margin-top: 20px;
}

.features-list li {
    margin-bottom: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list i {
    color: var(--primary-color);
    font-size: 20px;
}

.about-image {
    flex: 1;
    text-align: center;
}

.large-logo {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.1));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Events Section */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.event-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.event-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--primary-color);
}

.event-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.event-card:hover .event-icon {
    background-color: var(--primary-color);
    color: #fff;
}

.event-card h3 {
    margin-bottom: 15px;
    font-size: 22px;
}

/* Contact Section */
.contact {
    text-align: center;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-content p {
    font-size: 18px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.social-links a {
    width: 50px;
    height: 50px;
    background-color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-dark);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #fff;
    text-align: center;
    padding: 30px 0;
}

footer p {
    margin: 0;
    color: #aaa;
    font-size: 14px;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 45px;
    }
    .about-content {
        gap: 30px;
    }
    .hero-content {
        margin: 0 auto;
        text-align: center;
        padding: 0 15px;
        z-index: 2; /* Keep above background */
    }
    .hero {
        background: linear-gradient(to bottom, rgba(252, 238, 208, 0) 75%, #FCEEd0 100%), url("../img/background.74e170ce942d.png") center bottom / 100% auto no-repeat;
        background-color: #FCEEd0;
        background-attachment: scroll;
        align-items: flex-start;
        padding-top: 100px;
    }
    .hero::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 20px 0;
        text-align: center;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        gap: 20px; /* Spacing between vertical menu items */
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        margin-bottom: 15px;
    }

    .hero .title-main {
        font-size: 48px;
        display: block;
        line-height: 1;
    }

    .hero .title-sub {
        font-size: 22px;
        font-weight: 600;
        display: block;
        margin-top: 5px;
    }

    .hero {
        background-color: #FCEDD4;
        background-image: url("../img/background-2.e7056903fa73.png");
        background-position: center bottom;
        background-size: contain;
        background-repeat: no-repeat;
        background-attachment: scroll;
        padding-top: 110px;
    }

    .hero p {
        margin-bottom: 70px;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .features-list {
        display: inline-block;
        text-align: left;
    }

    .section-padding {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .large-logo {
        max-height: 300px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero h2 {
        font-size: 14px;
    }

    .hero p {
        font-size: 15px;
    }

    .event-card {
        padding: 30px 20px;
    }

    .logo-text h1 {
        font-size: 18px;
    }

    .btn {
        padding: 10px 25px;
        font-size: 14px;
    }
    
    .logo-container {
        gap: 10px;
    }
    
    .logo {
        height: 48px;
    }
}

/* Extra support for small mobiles */
@media (max-width: 380px) {
    .logo-text p {
        font-size: 8px;
        letter-spacing: 1px;
    }
    .logo {
        height: 40px;
    }
}
