@font-face {
    font-family: 'ML Anakha Bold';
    src: url('assets/fonts/ML_TT_Anakha_Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'ML Thunchan';
    src: url('assets/fonts/ML_TT_Thunchan_Normal.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'ML Veena';
    src: url('assets/fonts/ML_TT_Veena_HeavyNormal.ttf') format('truetype');
    font-weight: bold;
    font-style: normal; 
}


/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}
/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: white;
    padding: 1rem;
    transition: all 0.5s ease;
    transform: translateY(-100%);
    opacity: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.header.scrolled {
    transform: translateY(0);
    opacity: 1;
}
.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: white;
    padding: 1rem;
    transition: all 0.5s ease;
    transform: translateY(-100%);
    opacity: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    opacity: 1;
}
.brand {
    font-size: 1.5rem;
    font-family: 'ML Anakha Bold';
    font-weight: bold;
    color: #FF8C42;
    text-decoration: none;
}
.desktop-menu {
    display: none;
}
.menu-item {
    text-decoration: none;
    color: #333;
    margin: 0 1rem;
    position: relative;
}
.menu-item::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #FF8C42;
    transition: width 0.3s ease;
}
.menu-item:hover::after {
    width: 100%;
}
.mobile-menu-button {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}
.mobile-menu {
    display: none;
    padding: 1rem;
    background: white;
}
.mobile-menu.active {
    display: flex;
    flex-direction: column;
}
.mobile-menu a {
    text-decoration: none;
    color: #333;
    padding: 0.5rem 0;
}
/* Hero Section */
/* .hero-section {
    height: 100vh;
    background-image: url('../assets/kavudemo.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}
.hero-content {
    position: relative;
    z-index: 1;
}
    */
.hero-content h1 {
    font-family: 'ML Anakha Bold', sans-serif;
    font-size: 4rem;
    margin-bottom: 0.5rem;
}
.hero-content p {
    font-family: 'ML Thunchan', sans-serif;
    font-size: 2.5rem;
} 



/*  slider */
.hero-section {
            position: relative;
            width: 100%;
            height: 100vh;
            overflow: hidden;
        }
.slider {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
        }
.slide {
            position: absolute;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            opacity: 0;
            transition: opacity 1s ease-in-out;
        }
.slide.active {
            opacity: 1;
        }
.hero-content {
            position: relative;
            z-index: 2;
            text-align: center;
            color: white;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            /* position: absolute; */
        }


































/* Parallax Sections */
.parallax {
    min-height: 60vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
}
#about {
    background-image: url('/section1.jpg');
}
#gallery {
    background-image: url('/section2.jpg');
}
.parallax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:#780000;
}
.section-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}
.white-section {
    background: white;
    padding: 4rem 0;
}
.white-section .section-content {
    color: #333;
}

.portfolio {
    background: white;
    padding: 4rem 0;
}

#calendar {
    text-align: center;
    padding: 60px 20px;
    background: #f9f9f9;
}

#calendar iframe {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}








/* Footer */
footer {
    background-color: #780000;
    color: white;
    padding: 4rem 0 2rem;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.footer-section {
    margin-bottom: 2rem;
}
.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}
.social-links {
    display: flex;
    gap: 1rem;
}
.social-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}
.social-links a:hover {
    opacity: 1;
}
.footer-bottom {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
/* Responsive Design */
@media (min-width: 768px) {
    .desktop-menu {
        display: flex;
        gap: 2rem;
    }
    .mobile-menu-button {
        display: none;
    }
    .hero-content h1 {
        font-size: 6rem;
    }
    .hero-content p {
        font-size: 2rem;
    }
}
/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}



.zigzag-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 10%;
    gap: 40px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease-in-out;
}

.zigzag-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.zigzag-section img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.zigzag-section .text {
    max-width: 500px;
    text-align: left;
}

.zigzag-section h2 {
    font-size: 2rem;
    color: #780000;
    margin-bottom: 10px;
}

.zigzag-section p {
    font-size: 1.2rem;
    color: #666;
}

/* Alternate left-right layout */
.zigzag-section:nth-child(even) {
    flex-direction: row-reverse;
}

/* Responsive Design */
@media (max-width: 768px) {
    .zigzag-section {
        flex-direction: column !important;
        text-align: center;
    }

    .zigzag-section .text {
        text-align: center;
    }
}