/* Save the Bees - Thailand Jungle Bee Project
   Color Palette: White dominant, Golden Yellow (#F5A623, #FFC107), Black (#1a1a1a), Honey (#E8A928)
   Inspired by: savethebee.org, beethecure.com.au with Thai local touches
*/

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

:root {
    --primary-yellow: #F5A623;
    --honey-gold: #E8A928;
    --light-yellow: #FFF8E7;
    --cream: #FFFDF7;
    --black: #1a1a1a;
    --dark-brown: #3d2914;
    --text-gray: #555;
    --light-gray: #f5f5f5;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--black);
    background-color: var(--white);
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark-brown);
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

a {
    color: var(--primary-yellow);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--honey-gold);
}

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

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

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 70px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--black);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

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

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-yellow);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 5px;
    margin-left: 20px;
}

.lang-btn {
    background: transparent;
    border: 2px solid var(--primary-yellow);
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--dark-brown);
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: var(--light-yellow);
}

.lang-btn.active {
    background: var(--primary-yellow);
    color: var(--white);
}

.lang-flag {
    font-size: 0.85rem;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--black);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--light-yellow) 0%, var(--cream) 100%);
    padding: 150px 20px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5L35 15L45 15L37 22L40 32L30 26L20 32L23 22L15 15L25 15Z' fill='%23F5A623' fill-opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    margin-bottom: 1.5rem;
    color: var(--dark-brown);
}

.hero h1 span {
    color: var(--primary-yellow);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-gray);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--honey-gold);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--honey-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.4);
    color: var(--white);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-yellow);
    color: var(--primary-yellow);
    margin-left: 15px;
}

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

/* Sections */
section {
    padding: 80px 20px;
}

.section-light {
    background-color: var(--white);
}

.section-cream {
    background-color: var(--cream);
}

.section-yellow {
    background-color: var(--light-yellow);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-header p {
    font-size: 1.1rem;
}

/* Impact Stats */
.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
    margin-top: 50px;
}

.stat-item {
    padding: 30px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-yellow);
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-gray);
    margin-top: 10px;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    color: var(--dark-brown);
}

/* How It Works */
.how-it-works {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.step {
    text-align: center;
    padding: 30px 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-yellow);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    margin-bottom: 15px;
}

/* Image Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--white);
    font-weight: 500;
}

/* Tips List */
.tips-list {
    max-width: 800px;
    margin: 0 auto;
}

.tip-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.tip-item:hover {
    transform: translateX(5px);
}

.tip-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--light-yellow);
    color: var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.tip-content h4 {
    color: var(--dark-brown);
    margin-bottom: 5px;
}

.tip-content p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Partner/Shop Section */
.partner-section {
    background: linear-gradient(135deg, var(--dark-brown) 0%, #5a3d1a 100%);
    color: var(--white);
    text-align: center;
}

.partner-section h2 {
    color: var(--white);
}

.partner-section p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
}

.partner-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.partner-benefit {
    padding: 25px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
}

.partner-benefit h4 {
    color: var(--primary-yellow);
    margin-bottom: 10px;
}

/* Contact Form */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 30px;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: var(--light-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-yellow);
    font-size: 1.2rem;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-brown);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-yellow);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* About Page Specific */
.about-hero {
    padding-top: 120px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.timeline {
    position: relative;
    padding-left: 30px;
    border-left: 3px solid var(--primary-yellow);
}

.timeline-item {
    position: relative;
    padding-bottom: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -38px;
    top: 5px;
    width: 16px;
    height: 16px;
    background: var(--primary-yellow);
    border-radius: 50%;
    border: 3px solid var(--white);
}

.timeline-year {
    color: var(--primary-yellow);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Farm Page Specific */
.farm-intro {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.farm-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.farm-stat {
    background: var(--light-yellow);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.farm-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-yellow);
}

.farm-stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* Bee Craft Product */
.craft-highlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.craft-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.craft-images img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.craft-images img:first-child {
    grid-column: span 2;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand img {
    height: 120px;
    width: auto;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    margin-top: 15px;
}

.footer-column h4 {
    color: var(--primary-yellow);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

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

.footer-column ul li a {
    color: rgba(255,255,255,0.7);
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--primary-yellow);
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-section,
    .about-content,
    .farm-intro,
    .craft-highlight {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 130px 20px 80px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .btn-secondary {
        margin-left: 0;
        margin-top: 10px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    section {
        padding: 60px 20px;
    }

    .farm-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.7rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }
}

/* Discovery Story Section */
.discovery-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    margin-top: 40px;
}

.discovery-text .lead-text {
    font-size: 1.2rem;
    color: var(--dark-brown);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.discovery-text p {
    font-size: 1.05rem;
    line-height: 1.8;
}

.discovery-text strong {
    color: var(--dark-brown);
    font-size: 1.1rem;
}

.homeless-bees-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.homeless-bees-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.homeless-bees-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.gallery-caption {
    text-align: center;
    font-style: italic;
    color: var(--text-gray);
    margin-top: 15px;
    font-size: 0.95rem;
}

@media (max-width: 992px) {
    .discovery-story {
        grid-template-columns: 1fr;
    }

    .discovery-gallery {
        order: -1;
    }
}

@media (max-width: 600px) {
    .homeless-bees-grid {
        grid-template-columns: 1fr;
    }

    .homeless-bees-grid img {
        height: 250px;
    }
}

/* Bee House Reward Section */
.bee-house-reward {
    margin-top: 40px;
}

.reward-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.reward-step {
    background: var(--white);
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.reward-step:hover {
    transform: translateY(-5px);
}

.reward-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-yellow);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 auto 15px;
}

.reward-step h4 {
    color: var(--dark-brown);
    margin-bottom: 10px;
}

.reward-step p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Claim Form */
.claim-form-container {
    max-width: 700px;
    margin: 0 auto;
}

.claim-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-hint {
    display: block;
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 5px;
    font-style: italic;
}

.file-upload-wrapper {
    position: relative;
    border: 2px dashed var(--primary-yellow);
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--light-yellow);
}

.file-upload-wrapper:hover {
    border-color: var(--honey-gold);
    background: #fff8e1;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.upload-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-yellow);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 300;
}

.file-upload-text span:last-child {
    color: var(--text-gray);
}

.checkbox-group {
    margin-top: 20px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-gray);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--primary-yellow);
    cursor: pointer;
}

.btn-large {
    width: 100%;
    padding: 18px 32px;
    font-size: 1.1rem;
    margin-top: 20px;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-30 {
    margin-top: 30px;
}

.highlight {
    color: var(--primary-yellow);
}

/* Honeycomb pattern decoration */
.honeycomb-divider {
    height: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23F5A623' fill-opacity='0.15'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    margin: 0;
}
