﻿:root {
    --cocoa-brown: #5D4037;
    --cocoa-light: #8D6E63;
    --cocoa-lighter: #D7CCC8;
    --gold: #FFD700;
    --green: #4CAF50;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --medium-gray: #64748b;
    --dark-gray: #1e293b;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
}

/* Header Styles */
.main-header {
    background: linear-gradient(135deg, var(--cocoa-brown) 0%, #1f4b35 100%);
    box-shadow: 0 4px 20px rgba(44, 95, 63, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: var(--white) !important;
    text-decoration: none;
}

    .navbar-brand img {
        width: 40px;
        height: 40px;
        object-fit: contain;
    }

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    margin: 0 8px;
}

    .navbar-nav .nav-link:hover {
        color: var(--white) !important;
        transform: translateY(-2px);
    }

    .navbar-nav .nav-link::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--gold);
        transition: width 0.3s ease;
    }

    .navbar-nav .nav-link:hover::after {
        width: 100%;
    }

.centered-logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white) !important;
    font-weight: 800;
    text-decoration: none;
    margin-right: auto;
    height: 60px;
    overflow: hidden;
}

.centered-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-top: -10px;
    margin-bottom: -10px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(93, 64, 55, 0.95) 0%, rgba(31, 75, 53, 0.95) 100%), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 200"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="1000" height="200" fill="url(%23grain)"/></svg>');
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 0px 0px;
    margin-bottom: 40px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image {
    margin: 30px auto;
    max-width: 800px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    border-radius: 10px;
    overflow: hidden;
}

.action-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--cocoa-light) 0%, var(--cocoa-brown) 100%);
    border: none;
    padding: 15px 30px;
    font-weight: 600;
    border-radius: 50px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(93, 64, 55, 0.3);
}

    .btn-primary-custom:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 35px rgba(93, 64, 55, 0.4);
        color: var(--white);
    }

.btn-secondary-custom {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 15px 30px;
    font-weight: 600;
    border-radius: 50px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

    .btn-secondary-custom:hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: var(--white);
        transform: translateY(-2px);
        color: var(--white);
    }

/* Quick Actions Section */
.quick-actions-section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

    .section-header h2 {
        font-size: 2.5rem;
        font-weight: 700;
        color: var(--cocoa-brown);
        margin-bottom: 15px;
    }

    .section-header p {
        font-size: 1.1rem;
        color: var(--medium-gray);
        max-width: 600px;
        margin: 0 auto;
    }

.action-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

    .action-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    }

.action-icon {
    margin-bottom: 20px;
}

    .action-icon img {
        height: 70px;
        width: auto;
    }

.action-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cocoa-brown);
    margin-bottom: 15px;
}

.action-card p {
    color: var(--medium-gray);
    margin-bottom: 20px;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    background: var(--cocoa-brown);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-action:hover {
        background: var(--cocoa-light);
        color: var(--white);
        transform: translateY(-2px);
    }

/* Support Section */
.support-section {
    padding: 40px 0;
}

.support-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    max-width: 600px;
    margin: 0 auto;
}

.support-content {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

.support-icon img {
    height: 80px;
    width: auto;
}

.support-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--cocoa-brown);
    margin-bottom: 5px;
}

.support-card p {
    color: var(--medium-gray);
    margin-bottom: 15px;
}

.contact-link {
    display: block;
    font-size: 1.5rem;
    color: var(--cocoa-brown);
    margin: 10px 0;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

    .contact-link:hover {
        color: var(--cocoa-light);
    }

/* Footer */
.footer-copyright {
    background: var(--cocoa-brown);
    color: var(--white);
    padding: 20px 0;
    text-align: center;
    margin-top: 60px;
}

/* CAROUSEL FIXES - INCREASED HEIGHT */
.carousel-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
}

.carousel {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* INCREASED HEIGHT: Image container */
.image-container {
    position: relative;
    width: 100%;
    height: 800px; /* Increased from 600px to 700px */
    overflow: hidden;
}

    .image-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }

.carousel-item {
    height: 100%;
}

/* Carousel Caption - Improved for all screens */
.carousel-caption {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    padding: 25px;
    background: rgba(93, 64, 55, 0.85);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    max-width: 80%;
    width: auto;
    margin: 0 auto;
}

    .carousel-caption h4 {
        font-size: 2.2rem;
        font-weight: 700;
        margin-bottom: 10px;
        color: #FFD700;
        line-height: 1.2;
    }

    .carousel-caption p {
        font-size: 1.3rem;
        margin-bottom: 0;
        color: white;
        line-height: 1.4;
    }

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background-color: rgba(93, 64, 55, 0.8);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: 25px;
}

.carousel-control-next {
    right: 25px;
}

    .carousel-control-prev:hover,
    .carousel-control-next:hover {
        background-color: rgba(93, 64, 55, 1);
        opacity: 1;
    }

.carousel-indicators {
    bottom: 25px;
}

    .carousel-indicators button {
        width: 14px;
        height: 14px;
        border-radius: 50%;
        margin: 0 6px;
    }

/* Carousel Responsive Design with Improved Mobile Caption */
@media (max-width: 1200px) {
    .image-container {
        height: 650px;
    }
}

@media (max-width: 992px) {
    .image-container {
        height: 550px;
    }

    .carousel-caption {
        bottom: 50px;
        padding: 20px;
        max-width: 85%;
    }

        .carousel-caption h4 {
            font-size: 1.8rem;
        }

        .carousel-caption p {
            font-size: 1.1rem;
        }

    .carousel-control-prev,
    .carousel-control-next {
        width: 50px;
        height: 50px;
    }
}

/* MOBILE CAPTION FIXES */
@media (max-width: 768px) {
    .image-container {
        height: 500px;
    }

    .carousel-caption {
        bottom: 20px; /* Better positioning for mobile */
        left: 50%;
        transform: translateX(-50%);
        padding: 15px 20px;
        max-width: 90%;
        width: 90%;
        background: rgba(93, 64, 55, 0.9); /* Slightly more opaque for better readability */
    }

        .carousel-caption h4 {
            font-size: 1.4rem; /* Better size for mobile */
            margin-bottom: 8px;
            line-height: 1.3;
        }

        .carousel-caption p {
            font-size: 0.95rem; /* Better size for mobile */
            line-height: 1.3;
            margin-bottom: 0;
        }

    .carousel-container {
        padding: 0;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .carousel-control-prev {
        left: 10px;
    }

    .carousel-control-next {
        right: 10px;
    }
}

@media (max-width: 576px) {
    .image-container {
        height: 450px;
    }

    .carousel-caption {
        bottom: 15px;
        padding: 12px 15px;
        max-width: 95%;
        width: 95%;
    }

        .carousel-caption h4 {
            font-size: 1.2rem;
            margin-bottom: 5px;
        }

        .carousel-caption p {
            font-size: 0.85rem;
            line-height: 1.2;
        }

    .carousel-control-prev,
    .carousel-control-next {
        width: 35px;
        height: 35px;
    }

    .carousel-indicators {
        bottom: 10px;
    }

        .carousel-indicators button {
            width: 10px;
            height: 10px;
            margin: 0 4px;
        }
}

/* Extra Small Devices - Further Mobile Optimization */
@media (max-width: 400px) {
    .image-container {
        height: 400px;
    }

    .carousel-caption {
        bottom: 10px;
        padding: 10px 12px;
    }

        .carousel-caption h4 {
            font-size: 1.1rem;
        }

        .carousel-caption p {
            font-size: 0.8rem;
        }

    /* Hide carousel controls on very small screens if they interfere */
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
}

/* Container adjustments */
.cocobod-container .hero-section {
    padding-top: 8px !important;
    padding-bottom: 16px !important;
    margin-top: 0 !important;
    border-radius: 0 0 20px 20px;
}

:root {
    --cocoa-hero-radius: 4px;
}

.cocobod-container .hero-section,
.cocobod-container .carousel,
.cocobod-container .carousel-inner,
.cocobod-container .image-container,
.cocobod-container .carousel-item,
.cocobod-container .image-container img {
    border-radius: var(--cocoa-hero-radius) !important;
    overflow: hidden !important;
}

/* Support Section */
.support-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.support-card {
    flex: 1;
    max-width: 600px;
}

.support-wrapper img {
    flex-shrink: 0;
    max-width: 300px;
    border-radius: 10px;
}

/* Ayekoo Slogan Section */
.ayekoo-slogan {
    margin: 30px 0;
    text-align: center;
    position: relative;
    padding: 30px 20px;
    background: linear-gradient(135deg, rgba(93, 64, 55, 0.9) 0%, rgba(31, 75, 53, 0.9) 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.ayekoo-main-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.ayekoo-text {
    font-size: 1.5rem;
    font-weight: 900;
    font-family: 'Arial Black', 'Arial Bold', sans-serif;
    color: #FFFFFF;
    text-transform: lowercase;
    letter-spacing: 2px;
    line-height: 1.1;
    margin: 0;
    position: relative;
    text-shadow: 2px 2px 0px #8B4513, 4px 4px 0px #A0522D, 6px 6px 0px #6B3410;
    -webkit-text-stroke: 2px #D2691E;
    paint-order: stroke fill;
    animation: bounce-text 2s ease-in-out infinite;
    font-style: italic;
}

.ayekoo-subtitle {
    font-size: 1.4rem;
    color: #FFD700;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    letter-spacing: 1px;
}

/* Supporting Text Sections */
.ayekoo-supporting-text {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 25px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.supporting-column {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

    .supporting-column h3 {
        color: #FFD700;
        font-size: 1.3rem;
        font-weight: 700;
        margin-bottom: 10px;
        text-align: center;
    }

    .supporting-column p {
        color: #FFFFFF;
        font-size: 1rem;
        line-height: 1.5;
        margin: 0;
        text-align: center;
        opacity: 0.9;
    }

/* Cocoa Beans Decoration */
.cocoa-beans-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.cocoa-bean {
    position: absolute;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    opacity: 0.2;
    animation: float-bean 6s ease-in-out infinite;
}

    .cocoa-bean:nth-child(1) {
        top: 10%;
        left: 5%;
        animation-delay: 0s;
    }

    .cocoa-bean:nth-child(2) {
        top: 15%;
        right: 8%;
        animation-delay: 1.5s;
    }

    .cocoa-bean:nth-child(3) {
        bottom: 20%;
        left: 7%;
        animation-delay: 3s;
    }

    .cocoa-bean:nth-child(4) {
        bottom: 15%;
        right: 6%;
        animation-delay: 4.5s;
    }

/* Content wrapper */
.ayekoo-content {
    position: relative;
    z-index: 2;
}

/* Animations */
@keyframes float-bean {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.2;
    }

    50% {
        transform: translateY(-15px) rotate(180deg);
        opacity: 0.3;
    }
}

@keyframes bounce-text {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) scale(1);
    }

    40% {
        transform: translateY(-8px) scale(1.02);
    }

    60% {
        transform: translateY(-4px) scale(1.01);
    }
}

/* General Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .action-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .support-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .ayekoo-text {
        font-size: 1rem;
        -webkit-text-stroke: 1.5px #D2691E;
        letter-spacing: 1px;
    }

    .ayekoo-subtitle {
        font-size: 1.2rem;
    }

    .ayekoo-supporting-text {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .supporting-column {
        padding: 15px;
    }

        .supporting-column h3 {
            font-size: 1.1rem;
        }

        .supporting-column p {
            font-size: 0.9rem;
        }
}

@media (max-width: 576px) {
    .ayekoo-slogan {
        padding: 20px 15px;
        margin: 20px 0;
    }

    .ayekoo-text {
        font-size: 1rem;
        -webkit-text-stroke: 1px #D2691E;
        text-shadow: 1px 1px 0px #8B4513, 2px 2px 0px #A0522D, 3px 3px 0px #6B3410;
    }

    .ayekoo-subtitle {
        font-size: 1rem;
    }

    .cocoa-bean {
        display: none;
    }
}
