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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background-color: #f0f9f0;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    color: #22543d;
}

h2 {
    font-size: 2.5rem;
    color: #2f855a;
    text-align: center;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.8rem;
    color: #276749;
}

h4 {
    font-size: 1.4rem;
    color: #2f855a;
}

p {
    margin-bottom: 1rem;
    text-align: justify;
}

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

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

.nav-logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #276749;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #2d3748;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #276749;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #48bb78;
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

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

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 3;
    position: relative;
    max-width: 800px;
    padding: 0 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.hero-poem {
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s;
    animation-fill-mode: both;
}

.btn {
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary {
    background: white;
    color: #276749;
}

.btn-primary:hover {
    background: #f0fff4;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(72, 187, 120, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #276749;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(72, 187, 120, 0.3);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: #276749;
    margin-bottom: 1rem;
}

.section-header p {
    color: #4a5568;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Radio Section */
.radio-section {
    background: linear-gradient(135deg, #e6fffa 0%, #b2f5ea 100%);
}

.radio-player {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.player-container {
    text-align: center;
}

.current-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: #2d3748;
}

.current-track i {
    color: #48bb78;
    font-size: 1.2rem;
}

.player-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.control-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: #48bb78;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.control-btn:hover {
    background: #38a169;
    transform: scale(1.1);
}

.progress-bar {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 1rem;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #48bb78, #276749);
    width: 0%;
    transition: width 0.3s ease;
}

/* Blessing Section */
.blessing-section {
    background: #f0fff4;
}

.blessing-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.blessing-images {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 1rem;
}

.image-card {
    text-align: center;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.image-card:hover {
    transform: translateY(-5px);
}

.image-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 400px;
}

.image-card.featured img {
    max-height: 500px;
    height: auto;
}

.image-card h3 {
    padding: 1rem;
    font-size: 1rem;
    color: #2d3748;
}

.image-card.featured h3 {
    font-size: 1.1rem;
    color: #276749;
}

.image-card span {
    display: block;
    font-size: 0.9rem;
    color: #4a5568;
    font-weight: normal;
    margin-top: 0.5rem;
}

.blessing-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.blessing-video {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.blessing-video video {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-overlay:hover {
    background: white;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-overlay i {
    color: #48bb78;
    font-size: 1.5rem;
    margin-left: 3px;
}

.blessing-message {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blessing-message h3 {
    color: #276749;
    margin-bottom: 1rem;
}

.signature {
    text-align: right;
    font-style: italic;
    color: #4a5568;
    margin-top: 1rem;
}

/* Village Section */
.village-section {
    background: white;
}

.village-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.village-video {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.village-video video {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.village-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: #e6fffa;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #48bb78;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateX(5px);
}

.info-card h3 {
    color: #276749;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card h3 i {
    color: #48bb78;
}

/* Monograph Section */
.monograph-section {
    background: linear-gradient(135deg, #e6fffa 0%, #c6f6d5 100%);
}

.monograph-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.monograph-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.monograph-card:hover {
    transform: translateY(-10px);
}

.card-image {
    overflow: hidden;
    min-height: auto;
}

.card-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
}

.monograph-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 2rem;
}

.card-content h3 {
    color: #276749;
    margin-bottom: 0.5rem;
}

.card-content h4 {
    color: #2f855a;
    margin-bottom: 1rem;
    font-style: italic;
}

.card-details {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.card-details p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.card-topics ul {
    list-style: none;
    padding: 0;
}

.card-topics li {
    padding: 0.3rem 0;
    border-bottom: 1px solid #f8f9fa;
    font-size: 0.9rem;
}

.card-topics li:last-child {
    border-bottom: none;
}

.monograph-launch {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    margin-top: 1rem;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Authors Section */
.authors-section {
    background: #f0fff4;
}

.authors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.author-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.author-card:hover {
    transform: translateY(-5px);
}

.author-image {
    overflow: hidden;
    min-height: auto;
}

.author-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.author-content {
    padding: 1.5rem;
}

.author-content h3 {
    color: #276749;
    margin-bottom: 0.5rem;
}

.author-title {
    color: #48bb78;
    font-weight: 600;
    margin-bottom: 1rem;
}

.author-description {
    font-size: 0.95rem;
    color: #4a5568;
}

.editor-section {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.editor-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.editor-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.editor-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 200px;
}

.editor-content {
    text-align: left;
}

.editor-content h4 {
    color: #276749;
    margin-bottom: 1rem;
}

.editor-content p {
    font-style: italic;
    color: #4a5568;
}

/* Footer */
.footer {
    background: #22543d;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #c6f6d5;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #9ae6b4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #c6f6d5;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #2f855a;
    color: #9ae6b4;
}

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

.animate {
    animation: fadeInUp 0.8s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 0.5rem 0;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-content {
        padding-top: 80px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-poem {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .blessing-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .blessing-images {
        grid-template-columns: 1fr;
    }
    
    .village-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .village-video video {
        height: 250px;
    }
    
    .monograph-grid {
        grid-template-columns: 1fr;
    }
    
    .authors-grid {
        grid-template-columns: 1fr;
    }
    
    .editor-card {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 0.8rem;
    }
    
    .radio-player {
        padding: 1.5rem;
    }
    
    .control-btn {
        width: 45px;
        height: 45px;
    }
    
    .blessing-video video {
        height: 200px;
    }
    
    .village-video video {
        height: 200px;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .author-content {
        padding: 1rem;
    }
}

/* Print Styles */
@media print {
    .header, .hero, .radio-section, .footer {
        display: none;
    }
    
    section {
        padding: 20px 0;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for better accessibility */
.btn:focus,
.nav-link:focus,
.control-btn:focus {
    outline: 2px solid #48bb78;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn {
        border: 2px solid currentColor;
    }
    
    .card {
        border: 2px solid #333;
    }
}
