/* CSS Variables */
:root {
    --primary-gold: #D4AF37;
    --secondary-gold: #FFD700;
    --light-gold: #F5E6C8;
    --dark-gold: #B8860B;
    --accent-brown: #8B4513;
    --background-cream: #FFF8E7;
    --background-white: #FFFDF9;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --shadow: 0 4px 20px rgba(139, 69, 19, 0.15);
    --shadow-hover: 0 8px 30px rgba(139, 69, 19, 0.25);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    background-color: var(--background-cream);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.3;
}

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

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

ul {
    list-style: none;
}

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

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-gold);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--accent-brown);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--secondary-gold));
    margin: 20px auto 0;
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    color: var(--accent-brown);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(139, 69, 19, 0.1);
    transition: var(--transition);
}

.header.scrolled {
    background: var(--white);
    box-shadow: var(--shadow);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 55px;
    width: auto;
    transition: var(--transition);
}

.header.scrolled .logo img {
    height: 50px;
}

.nav-menu {
    display: flex;
    gap: 35px;
}

.nav-menu a {
    color: var(--accent-brown);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
}

.header.scrolled .nav-menu a {
    color: var(--accent-brown);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-gold);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--accent-brown);
    border-radius: 2px;
    transition: var(--transition);
}

.header.scrolled .nav-toggle span {
    background: var(--accent-brown);
}

/* Hero Section */
.hero {
    background: url('Banner.jpg') right center/contain no-repeat;
    background-color: #e6e8e9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 600px;
    padding-top: 70px;
}

.hero-content {
    position: absolute;
    left: 0;
    right: 40%;
    z-index: 1;
    color: var(--accent-brown);
    padding: 60px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--accent-brown);
    white-space: nowrap;
}

.hero-location {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

.hero-motto {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-style: italic;
    color: var(--primary-gold);
    margin-bottom: 30px;
}

/* About Section */
.about {
    background: var(--background-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 4px solid var(--primary-gold);
    border-radius: 15px;
    z-index: -1;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-text .lead {
    font-size: 1.2rem;
    color: var(--accent-brown);
    margin-bottom: 20px;
    font-weight: 500;
}

.about-text p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.about-features {
    display: flex;
    gap: 25px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--light-gold), var(--background-cream));
    border-radius: 50px;
    font-weight: 500;
    color: var(--accent-brown);
}

.feature-icon {
    font-size: 1.3rem;
}

/* Programs Section */
.programs {
    background: linear-gradient(135deg, var(--light-gold) 0%, var(--background-cream) 100%);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.program-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--secondary-gold));
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.program-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.program-card h3 {
    font-size: 1.4rem;
    color: var(--accent-brown);
    margin-bottom: 15px;
}

.program-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Schedule Section */
.schedule {
    background: var(--background-white);
}

.schedule-timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.schedule-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-gold), var(--secondary-gold));
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    z-index: 1;
}

.timeline-content {
    background: var(--white);
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    flex: 1;
    transition: var(--transition);
}

.timeline-content:hover {
    box-shadow: var(--shadow-hover);
}

.timeline-content h3 {
    color: var(--accent-brown);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.timeline-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Gallery Section */
.gallery {
    background: linear-gradient(135deg, var(--accent-brown) 0%, #5D3A1A 100%);
    color: var(--white);
}

.gallery .section-subtitle {
    color: var(--secondary-gold);
}

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

.gallery .section-title::after {
    background: var(--secondary-gold);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16/10;
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(139, 69, 19, 0.9) 0%,
        transparent 50%
    );
    display: flex;
    align-items: flex-end;
    padding: 25px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay span {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: var(--white);
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Contact Section */
.contact {
    background: var(--background-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-card h3 {
    color: var(--accent-brown);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.contact-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-map {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
    min-height: 400px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--accent-brown) 0%, #3D2510 100%);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-logo img {
    height: 100px;
    width: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.footer-text {
    text-align: center;
}

.footer-text h3 {
    font-size: 1.8rem;
    color: var(--secondary-gold);
    margin-bottom: 10px;
}

.footer-motto {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: var(--light-gold);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.footer-location {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image::before {
        display: none;
    }

    .about-image img {
        height: 350px;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-info {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero {
        padding-top: 80px;
        min-height: auto;
        background-position: center bottom;
        background-size: 70%;
        padding-bottom: 280px;
    }

    .hero h1 {
        font-size: 1.5rem;
        white-space: normal;
    }

    .hero-location {
        font-size: 0.95rem;
    }

    .hero-motto {
        font-size: 1.1rem;
    }

    .hero-content {
        position: relative;
        left: auto;
        right: auto;
        padding: 30px 20px;
        text-align: center;
        width: 100%;
        display: block;
    }

    .logo img {
        height: 45px;
    }

    .header.scrolled .logo img {
        height: 40px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--background-cream);
        flex-direction: column;
        padding: 100px 40px;
        gap: 25px;
        transition: var(--transition);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        color: var(--accent-brown);
        font-size: 1.1rem;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .schedule-timeline::before {
        left: 25px;
    }

    .timeline-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .timeline-content {
        padding: 20px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .about-features {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-bottom: 220px;
        background-size: 80%;
    }

    .hero h1 {
        font-size: 1.4rem;
    }

    .hero-location {
        font-size: 0.9rem;
    }

    .hero-motto {
        font-size: 1rem;
    }

    .hero-content {
        padding: 20px 15px;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

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

    .timeline-item {
        gap: 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 25px;
    }

    .footer-logo img {
        height: 80px;
    }
}

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

.hero-content {
    animation: fadeInUp 1s ease-out;
}

/* Decorative lotus pattern overlay for certain sections */
.programs::after,
.schedule::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4AF37' fill-opacity='0.03'%3E%3Cpath d='M30 30c0-11.046-8.954-20-20-20v40c11.046 0 20-8.954 20-20zm0 0c0 11.046 8.954 20 20 20V10c-11.046 0-20 8.954-20 20z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.programs,
.schedule {
    position: relative;
}

.programs > .container,
.schedule > .container {
    position: relative;
    z-index: 1;
}
