/* General Styling */
:root {
    --dark-color: #d4631f; /* Peach-puff like */
    --light-color: #f4a261;  /* BurlyWood like */
    --light-text: #fef4e6;
    --white-text: #fef9f3;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: var(--dark-color);

	scroll-behavior: smooth;

}

/* Header and Navbar */
header {
   background: linear-gradient(135deg, var(--dark-color) 0%, var(--light-color) 100% );
    padding: 0px;
    margin:0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
   color: var(--light-color);
    text-decoration: none;
  /*  font-size: 16px; */
    font-weight: bold;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-links li {
    position: relative;
    margin-left: 20px;
}

.nav-links a {
    color: var(--dark-color);
    text-decoration: none;
    padding: 8px 15px;
    display: block;
}

.nav-links a:hover {
    background-color: var(--light-color);
    border-radius: 4px;
}

/* Dropdown specific styles */
.dropdown-content {
    display: none;
    position: absolute;
   background-color: var(--light-color);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 4px;
    top: 100%; /* Position below the parent link */
    left: 0;
}

.dropdown-content a {
    color: var(--light-text);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: var(--dark-color);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Hamburger icon */
.hamburger {
    display: none; /* Hidden by default on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger img {
    width: 30px;
    height: 30px;
	
filter: invert(36%) sepia(90%) saturate(750%) hue-rotate(2deg) brightness(95%) contrast(95%);


}

/* Hero Section (Landing Page) */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--light-color); /* Consistent with header for top */
    padding: 0rem;
    box-sizing: border-box;
}

.hero-image {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        height: auto;
        flex-direction: column;
        padding: 0rem 0rem;
    }

    .hero-image {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}


.hero-section:hover .hero-image {
  /*  transform: scale(1.1);*/ /* Zoom effect on hover */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.overlay-content {
    color: var(--white-text);
    opacity: 0; /* Hidden initially for slide-in animation */
    transform: translateY(20px);
    animation: slideInContent 1s forwards 0.5s; /* Delay for animation */
}

@keyframes slideInContent {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.overlay-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.overlay-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-button {
    background-color: var(--dark-color); /* Orange */
    color: var(--light-text);;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
     
}

.cta-button:hover {
    background-color: var(--light-color); /* Darker Orange */
    transform: translateY(-2px);
}



/* Section Styling (Alternating Colors) */

section {
    padding: 0px 0px;
    text-align: center;
}

.hpym-section {
 padding: 30px 20px;
    text-align: center;
    background-color: var(--light-text);
}

.pravachan-section {
    padding: 20px 20px;
    text-align: center;
    background-color: var(--white-text);
}

/* YouTube Cards (HPYM) */
.youtube-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.youtube-card {
      background: linear-gradient(135deg, var(--light-text) 0%, var(--light-color) 100% );
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    width: 280px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--dark-text);
    padding-bottom: 5px;
}

.youtube-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.youtube-card .thumbnail {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.youtube-card h3 {
    margin: 15px 0 5px;
    font-size: 1rem;
    padding: 0 5px;
}

.youtube-card .card-date {
    font-size: 0.9rem;
    color: #666;
    padding: 0 5px;
}

/* Pravachan Cards */
.pravachan-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.pravachan-card {
    
    background: linear-gradient(135deg, var(--light-text) 0%, var(--light-color) 100% );
 
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    width: 280px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--dark-text);
    padding-bottom: 15px;
}

.pravachan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.pravachan-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.pravachan-card h3 {
    margin: 15px 0 5px;
    font-size: 1rem;
    padding: 0 15px;
}

/* YouTube Modal */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1001; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.8); /* Black w/ opacity */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: fadeIn 0.3s ease;
}

.modal-content iframe {
    width: 100%;
    aspect-ratio: 16 / 9; /* Maintain aspect ratio */
    display: block; /* Remove extra space below iframe */
}

.close-button {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-button:hover,
.close-button:focus {
    color: #333;
    text-decoration: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Footer */
footer {
   background: linear-gradient(135deg, var(--dark-color) 0%, var(--light-color) 100% );
   
    color: var(--dark-text);
    padding: 30px 20px;
    text-align: center;
    margin-top: 00px;
}

.extra-button{
    padding-bottom: 30px;

}

.extra-button a {
    background-color: var(--dark-color); /* Orange */
    color: var(--light-text);;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
     
}
.extra-button a:hover {
    background-color: var(--light-color); /* Darker Orange */
    transform: translateY(-2px);
}
.social-media {
    margin-bottom: 20px;

}

.social-icon {
    color: var(--dark-text);
    font-size: 1.8rem;
    margin: 0 15px;
    transition: color 0.3s ease, transform 0.2s ease;
}

.social-icon:hover {
    color: #8B4513; /* SaddleBrown */
    transform: translateY(-3px);
}

.copyright {
    font-size: 0.9rem;
    color: #666;
}



/* Child Page Specific Styles (if any) */
.child-page-main {
    padding-top: 80px; /* Adjust based on fixed header height */
    min-height: calc(100vh - 150px); /* Adjust to push footer down */
}

.child-page-content {
    max-width: 900px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: left;
}

/* --- Media Queries for Responsiveness --- */


/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  
    .hero-overlay h1 {
        font-size: 2rem;
    }

    .hero-overlay p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .youtube-card, .pravachan-card {
        width: 90%; /* Make cards take more width on small screens */
    }

    .modal-content {
        width: 95%;
        padding: 10px;
    }
		

}

/* Tablet Devices (max-width: 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    
    .hero-overlay h1 {
        font-size: 2.5rem;
    }

    .youtube-card, .pravachan-card {
        width: 45%; /* Two cards per row */
    }

    .youtube-cards-container, .pravachan-cards-container {
        gap: 20px;
    }
}


/* Responsive styles for mobile */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide on mobile by default */
        flex-direction: column;
        width: 100%;
        
		background-color: var(--light-color);
        position: absolute;
        top: 60px; /* Adjust based on header height */
        left: 0;
        text-align: center;
        padding: 10px 0;
    }

    .nav-links.active {
        display: flex; /* Show when active */
    }

    .nav-links li {
        margin: 10px 0;
    }

    .nav-links a {
        padding: 10px;
        width: calc(100% - 20px); /* Adjust for padding */
    }

    .hamburger {
        display: block; /* Show hamburger on mobile */
    }

    .dropdown-content {
        position: static; /* Stack dropdown content on mobile */
        min-width: unset;
        box-shadow: none;
         /* Darker background for mobile dropdown */
		background-color: var(--light-color);
        border-radius: 0;
        width: 100%;
    }

    .dropdown:hover .dropdown-content {
        display: block; /* Revert hover effect for mobile, handled by JS */
    }

    .dropdown.active .dropdown-content {
        display: block; /* Show dropdown when parent is active */
    }
}

 