@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #2c5e2e;
    --secondary-color: #d4a373;
    --text-color: #333;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
}

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

ul {
    list-style: none;
}

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

/* Header */
.header {
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.logo-img {
    height: 75px;
    margin-right: 10px;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--white);
    position: relative;
}

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

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px 0;
    transition: var(--transition);
}

.mobile-menu-toggle.active .hamburger-line {
    background-color: var(--primary-color);
}

/* Language Selector */
.language-selector {
    position: relative;
    cursor: pointer;
    margin-left: 15px;
}

.language-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 20px;
    border: 1px solid #eee;
    transition: var(--transition);
}

.language-toggle:hover {
    background-color: #f0f0f0;
}

.flag-icon {
    font-size: 1.2rem;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.language-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-dropdown li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    color: var(--text-color);
}

.language-dropdown li a:hover {
    background-color: #f9f9f9;
    color: var(--primary-color);
}

.language-dropdown li a::after {
    display: none;
}

/* Hero Section */
.hero {
    height: calc(100vh - 80px);
    margin-top: 80px;
    min-height: 500px;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('../img/pulaukelapa.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.hero-text {
    max-width: 600px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: bold;
    margin-bottom: 24px;
    line-height: 1.1;
    color: white;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
}

.btn:hover {
    background-color: #c08b5c;
    transform: translateY(-2px);
}

/* Sections */
.section {
    padding: 80px 0;
}

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

/* Story Section */
.story-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

.story-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.story-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.story-image:nth-child(2) {
    margin-top: 40px;
}

.story-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.story-content p {
    margin-bottom: 15px;
    color: #666;
}

/* Profile Section */
.profile-section {
    text-align: center;
    background-color: #f5f5f5;
    padding: 60px 40px;
    border-radius: 20px;
    margin-bottom: 80px;
}

.profile-section h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.profile-section p {
    max-width: 800px;
    margin: 0 auto 20px;
    color: #666;
}

.profile-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 30px;
    font-weight: 600;
}

.profile-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Video Section */
.activities-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.all-videos-btn {
    padding: 12px 25px;
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.all-videos-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 94, 46, 0.2);
}

.video-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    padding: 0;
}

.video-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
    flex: 0 1 260px;
    max-width: 260px;
    width: 100%;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.video-thumbnail {
    height: auto;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    transition: var(--transition);
}

.video-card:hover .video-thumbnail::after {
    background: rgba(0,0,0,0.1);
}

.video-thumbnail:hover .play-btn {
    transform: scale(1.1);
}

.play-btn {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.video-duration {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    z-index: 2;
}

.video-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.video-title {
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.4;
    color: #1a1a1a;
}

.video-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-top: auto;
    transition: var(--transition);
}

.read-more-link:hover {
    gap: 12px;
    color: var(--secondary-color);
}

/* Product Detail Page */
.product-detail-section {
    padding: 120px 0 80px;
}

.product-detail-container {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    margin-bottom: 60px;
}

.product-image-wrapper {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.product-image-large {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.product-image-wrapper:hover .product-image-large {
    transform: scale(1.05);
}

.product-info-wrapper {
    flex: 1;
}

.product-title-large {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.product-description-full {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: justify;
}

.product-specs-box {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    border-left: 5px solid var(--primary-color);
}

.specs-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.specs-list {
    list-style: none;
}

.specs-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed #ddd;
}

.specs-list li:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    color: #333;
}

.spec-value {
    color: #666;
}

.back-btn-container {
    margin-top: 40px;
}

@media (max-width: 991px) {
    .product-detail-container {
        flex-direction: column;
    }
    
    .product-image-wrapper, .product-info-wrapper {
        width: 100%;
    }
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-logo {
    text-align: left;
    justify-self: start;
}

.footer-logo img {
    height: 120px;
    margin-bottom: 20px;
    margin-left: -25px;
}

.footer-links h3, .footer-contact h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-icons a:hover {
    background: var(--secondary-color);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 991px) {
    header {
        padding: 15px 0;
    }

    .mobile-menu-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--white);
        padding-top: 100px;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }

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

    .nav-menu {
        flex-direction: column;
        align-items: center;
    }

    .nav-menu a {
        color: var(--text-color);
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .story-section {
        grid-template-columns: 1fr;
    }

    .story-images {
        order: -1;
    }
    
    .language-selector {
        margin: 20px 0;
    }
    
    .language-dropdown {
        position: static;
        box-shadow: none;
        background: #f9f9f9;
        width: 100%;
        text-align: center;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 10px;
    }
    
    .language-dropdown.show {
        display: block;
    }
    
    .language-dropdown li a {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-content h2 {
        font-size: 2rem;
    }

    .video-card {
        max-width: 100%;
        flex: 1 1 100%;
    }
}

/* Blog Detail Page */
.blog-detail-section { padding: 120px 0 60px; }
.blog-detail-container { display: flex; flex-wrap: wrap; gap: 40px; }
.blog-main-content { flex: 2; min-width: 300px; }
.blog-sidebar { flex: 1; min-width: 250px; }
.blog-header { margin-bottom: 30px; }
.blog-meta { color: #777; font-size: 0.9rem; margin-bottom: 15px; display: flex; gap: 20px; align-items: center; }
.blog-meta i { margin-right: 5px; color: var(--primary-color); }
.blog-featured-image { width: 100%; height: auto; border-radius: 10px; margin-bottom: 30px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.blog-body { font-size: 1.05rem; color: #444; line-height: 1.8; }
.blog-body p { margin-bottom: 20px; }
.blog-body h2 { margin-top: 30px; margin-bottom: 15px; font-size: 1.5rem; }
.sidebar-widget { background: #fff; padding: 25px; border-radius: 10px; margin-bottom: 30px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); border: 1px solid #eee; }
.sidebar-title { font-size: 1.2rem; margin-bottom: 20px; border-bottom: 2px solid var(--primary-color); padding-bottom: 10px; display: inline-block; }
.recent-posts-list li { margin-bottom: 15px; border-bottom: 1px solid #eee; padding-bottom: 15px; display: flex; align-items: center; gap: 10px; }
.recent-posts-list li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.recent-post-thumb { width: 60px; height: 60px; object-fit: cover; border-radius: 5px; }
.recent-post-info h4 { font-size: 0.95rem; margin-bottom: 5px; line-height: 1.3; }
.recent-post-info span { font-size: 0.8rem; color: #888; }
@media (max-width: 768px) { .blog-detail-container { flex-direction: column; } .blog-sidebar { order: 2; } .blog-main-content { order: 1; } }

/* Mobile Optimization Tweaks */
@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

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

    .profile-section {
        padding: 40px 20px;
        margin-bottom: 50px;
    }

    .profile-section h2 {
        font-size: 1.8rem;
    }

    .activities-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        align-items: center;
    }

    .footer-content {
        text-align: center;
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 30px;
    }

    .footer-links ul li {
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    }
    
    .video-card {
        max-width: 100%;
        flex: 1 1 100%;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .all-videos-btn {
        width: 100%;
    }
    
    .header-container {
        padding: 0 15px;
    }
    
    .container {
        padding: 0 15px;
    }
}

