:root {
    /* Ethereal Color Palette */
    --primary-color: #2C3E50;
    --accent-mango: #F39C12;
    --accent-chicken: #27AE60;
    --text-primary: #2C3E50;
    --text-secondary: #7F8C8D;
    --text-light: #95A5A6;
    --background-cream: #FEFDFB;
    --background-white: #FFFFFF;
    --surface-glass: rgba(255, 255, 255, 0.03);
    --border-subtle: rgba(44, 62, 80, 0.08);
    --shadow-ethereal: 0 4px 20px rgba(44, 62, 80, 0.05);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--background-cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 33%;
    z-index: 1000;
    background: transparent;
    transition: all 0.3s ease;
}

.navbar {
    background: transparent;
    border-bottom: none;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
    text-shadow: none;
    letter-spacing: -0.01em;
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-mango);
}

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


/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 20px;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--text-primary);
    border-radius: 1px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(9px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-9px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 33%;
    background: rgba(254, 253, 251, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-menu-links {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu-links a {
    font-family: 'Crimson Text', serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-primary);
    text-decoration: none;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(44, 62, 80, 0.08);
    transition: color 0.3s ease;
}

.mobile-menu-links a:hover {
    color: var(--accent-mango);
}

.mobile-menu-links a:last-child {
    border-bottom: none;
}

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

.hero-video-container {
    flex: 1;
    width: 67%;
    height: 100vh;
    position: relative;
}

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


.hero-sidebar {
    width: 33%;
    min-width: 350px;
    height: 100vh;
    background: linear-gradient(
        180deg,
        rgba(255, 218, 209, 0.85) 0%,
        rgba(240, 210, 230, 0.80) 25%,
        rgba(230, 220, 240, 0.80) 50%,
        rgba(210, 225, 245, 0.80) 75%,
        rgba(201, 228, 243, 0.85) 100%
    );
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.hero-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        ellipse at 30% 40%,
        rgba(255, 255, 255, 0.15) 0%,
        transparent 60%
    );
    pointer-events: none;
}

.hero-content {
    padding: 3rem 2.5rem;
    text-align: left;
    max-width: 100%;
    position: relative;
    z-index: 3;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-family: 'Crimson Text', serif;
    font-style: italic;
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--text-secondary);
    display: block;
    margin-top: 0.5rem;
}

.hero-description {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 3rem;
    line-height: 1.7;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    align-items: flex-start;
    flex-wrap: nowrap;
}

.hero-btn {
    background: var(--primary-color);
    border: none;
    border-radius: 6px;
    padding: 0.6rem 1.2rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
    min-width: 120px;
    text-align: center;
    white-space: nowrap;
}

.hero-btn:hover {
    background: #34495E;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.3);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    right: 3rem;
    z-index: 3;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(255, 255, 255, 0.6) 50%,
        transparent 100%
    );
    margin: 0 auto;
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* Founder Story Section */
.founder-story {
    padding: 5rem 0;
    background: var(--background-white);
    position: relative;
}

.founder-story::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--border-subtle) 50%,
        transparent 100%
    );
}

/* Centered Our Story Section */
.founders-group {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .founders-group {
        gap: 2rem;
        margin-top: 1.5rem;
    }
}

.story-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    text-align: center;
}

.story-text {
    font-family: 'Crimson Text', serif;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-secondary);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    font-style: italic;
}



.founder {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.founder-name {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    letter-spacing: 0.02em;
}

.founder-role {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}


/* Map Section */
.map-section {
    padding: 8rem 0;
    background: var(--background-cream);
    position: relative;
}

.map-header {
    text-align: center;
    margin-bottom: 4rem;
}

.map-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.map-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.6;
}

.map-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.philippines-map {
    background: var(--background-white);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(44, 62, 80, 0.1);
    border: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
}

.philippines-map::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, rgba(187, 222, 251, 0.1) 0%, transparent 50%, rgba(227, 242, 253, 0.1) 100%);
    animation: shimmer 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0%, 100% { transform: rotate(0deg) translateX(-100%); }
    50% { transform: rotate(0deg) translateX(100%); }
}

.map-svg {
    width: 100%;
    height: auto;
    max-width: 500px;
}

/* Island Styles */
.island {
    fill: url(#islandGradient);
    stroke: rgba(76, 175, 80, 0.3);
    stroke-width: 1.5;
    transition: all 0.3s ease;
    cursor: pointer;
}

.island:hover {
    fill: rgba(200, 230, 201, 0.9);
    stroke: rgba(76, 175, 80, 0.6);
    transform: scale(1.02);
}

.luzon {
    animation: float 6s ease-in-out infinite;
}

.visayas {
    animation: float 6s ease-in-out infinite 2s;
}

.mindanao {
    animation: float 6s ease-in-out infinite 4s;
}

.palawan {
    animation: float 6s ease-in-out infinite 1s;
}

.small-island {
    fill: rgba(200, 230, 201, 0.6);
    stroke: rgba(76, 175, 80, 0.2);
    stroke-width: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-2px); }
}

/* Enhanced Farm Markers */
.farm-marker {
    cursor: pointer;
    transition: all 0.4s ease;
}

.farm-marker:hover {
    transform: scale(1.3);
}

.farm-base {
    fill: rgba(255, 255, 255, 0.2);
    stroke-width: 2;
}

.farm-inner {
    opacity: 0.7;
}

.farm-core {
    opacity: 1;
}

.mango-farm .farm-base {
    stroke: var(--accent-mango);
}

.mango-farm .farm-inner {
    fill: var(--accent-mango);
}

.mango-farm .farm-core {
    fill: #E65100;
}

.chicken-farm .farm-base {
    stroke: var(--accent-chicken);
}

.chicken-farm .farm-inner {
    fill: var(--accent-chicken);
}

.chicken-farm .farm-core {
    fill: #1B5E20;
}

/* Shipping Routes */
.shipping-route {
    fill: none;
    stroke: rgba(156, 39, 176, 0.4);
    stroke-width: 2;
    opacity: 0.6;
}

/* Farm Particles */
.farm-particle {
    pointer-events: none;
}

.mango-particle {
    fill: var(--accent-mango);
    opacity: 0.8;
}

.chicken-particle {
    fill: var(--accent-chicken);
    opacity: 0.8;
}

.map-legend {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.legend-marker {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.mango-marker {
    background: var(--accent-mango);
}

.chicken-marker {
    background: var(--accent-chicken);
}

.legend-item span {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-secondary);
}

/* Preorder Section */
.preorder-section {
    padding: 8rem 0;
    background: var(--background-white);
    position: relative;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.6s ease;
}

.preorder-section.visible {
    transform: translateY(0);
    opacity: 1;
}

.preorder-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.preorder-header {
    margin-bottom: 3rem;
}

.preorder-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.preorder-header p {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.6;
}

.preorder-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: end;
}

.form-group {
    position: relative;
    display: flex;
    flex-direction: column;
}

.form-group input {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-subtle);
    padding: 1rem 0 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-primary);
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus {
    border-bottom-color: var(--primary-color);
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 0;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-light);
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group input:focus + label,
.form-group input:valid + label {
    top: 0;
    font-size: 0.85rem;
    color: var(--primary-color);
}

.submit-btn {
    background: var(--primary-color);
    border: none;
    border-radius: 8px;
    padding: 1.2rem 2rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}

.submit-btn:hover {
    background: #34495E;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    padding: 3rem 0;
    background: var(--background-cream);
    border-top: 1px solid var(--border-subtle);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-color);
}

.footer-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 968px) {
    .map-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .philippines-map {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .map-svg {
        max-width: 100%;
        height: auto;
    }
    
    .map-legend {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 2rem;
    }
    
    .legend-item {
        gap: 0.75rem;
    }
    
    /* Mobile farm interactions */
    .farm-marker {
        transform-origin: center;
    }
    
    .farm-marker:hover {
        transform: scale(1.4);
    }
    
    /* Adjust info card for mobile */
    .info-card-mobile {
        padding: 1.5rem;
        margin: 1rem;
        border-radius: 16px;
    }
}

/* Hide mobile hero content on desktop */
.mobile-hero-content {
    display: none;
}

@media (max-width: 1200px) {
    .hero-sidebar {
        width: 35%;
        min-width: 350px;
    }
    
    .hero-video-container {
        width: 65%;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.6rem;
    }
}

@media (max-width: 968px) {
    .header {
        width: 100%;
    }
    
    .navbar {
        background: rgba(254, 253, 251, 0.95);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-subtle);
    }
    
    .mobile-menu {
        width: 100%;
    }
    
    .navbar.scrolled {
        background: rgba(254, 253, 251, 0.95);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-subtle);
    }
    
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-sidebar {
        width: 35%;
        min-width: 300px;
    }
    
    .hero-video-container {
        width: 65%;
    }
    
    .hero-content {
        padding: 2.5rem 2rem;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    /* Show mobile elements */
    .mobile-nav {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(20px) saturate(180%);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 1000;
        height: 80px;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-nav .logo-text {
        font-family: 'Playfair Display', serif;
        font-size: 1.8rem;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.95);
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        letter-spacing: -0.01em;
    }
    
    .mobile-hero-content {
        display: block;
        position: relative;
        z-index: 2;
        width: 90%;
        max-width: 500px;
        text-align: center;
        padding: 4rem 3rem;
        margin-top: 80px;
        background: rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(15px) saturate(150%);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 16px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    }
    
    /* Hide desktop sidebar */
    .hero-sidebar {
        display: none;
    }
    
    /* Mobile hero layout */
    .hero {
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }
    
    .hero-video-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
    }
    
    .hero-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    .hero::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(
            circle at center,
            rgba(44, 62, 80, 0.4) 0%,
            rgba(44, 62, 80, 0.65) 100%
        );
        z-index: 0;
    }
    
    .mobile-hero-content .hero-title {
        font-family: 'Playfair Display', serif;
        font-size: 2.8rem;
        font-weight: 400;
        line-height: 1.2;
        margin-bottom: 2rem;
        color: rgba(255, 255, 255, 0.95);
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
        letter-spacing: -0.02em;
    }
    
    .mobile-hero-content .hero-subtitle {
        font-family: 'Crimson Text', serif;
        font-style: italic;
        font-size: 1.8rem;
        font-weight: 400;
        color: rgba(255, 255, 255, 0.8);
        display: block;
        margin-top: 0.5rem;
    }
    
    .mobile-hero-content .hero-description {
        font-family: 'Inter', sans-serif;
        font-size: 1.1rem;
        font-weight: 400;
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: 3rem;
        line-height: 1.7;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }
    
    .mobile-hero-content .hero-buttons {
        display: flex;
        gap: 0.4rem;
        justify-content: center;
        flex-wrap: nowrap;
        max-width: 100%;
        overflow: hidden;
    }
    
    .mobile-hero-content .hero-btn {
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 6px;
        padding: 0.5rem 0.8rem;
        font-family: 'Inter', sans-serif;
        font-size: 0.7rem;
        font-weight: 400;
        color: rgba(255, 255, 255, 0.9);
        cursor: pointer;
        transition: all 0.3s ease;
        backdrop-filter: blur(8px);
        letter-spacing: 0.01em;
        min-width: 100px;
        white-space: nowrap;
        flex-shrink: 1;
    }
    
    .mobile-hero-content .hero-btn:hover {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.5);
        transform: translateY(-2px);
    }
    
    .scroll-indicator {
        right: 50%;
        transform: translateX(50%);
    }
}

@media (max-width: 968px) {
    .story-title, .map-title {
        font-size: 2.2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .founder-story,
    .map-section,
    .preorder-section {
        padding: 5rem 0;
    }
}