/* ===== Hero Section Styles ===== */
.hero {
    display: flex;                  /* Optional: center content */
    align-items: flex-start;
    justify-content: space-between;
    padding: 1rem 2rem;
    margin-right: 3rem;
    margin-bottom: 2rem;
    text-align: center;
    flex-wrap: wrap;
}

/* Left column */
.hero__left {
    flex: 1;
    margin-top: 2.5rem;
    max-width: 50%;
}

.hero__left h2 {
    margin-top: 1rem;
}

.block-line {
  display: block;
}

.word-relative {
    position: relative;
    display: inline-block;
}

.bean-icon {
    position: absolute;
    height: 0.7em;
    bottom: 0.8rem;              
    left: 100%;             
    rotate: 33deg;
}

.hero-btn__container {
    margin-top: 2.5rem;
}

.hero-btn {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: var(--color-secondary);
    color: var(--color-white);
    border-radius: 50px;

    outline: none;
    text-decoration: none;
}

.hero-btn:hover {
    background-color: var(--color-dark);
    border-color: var(--color-accent);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease;
}

/* Right column */
.hero__right {
    flex: 1;
    display: grid;
    align-self: start;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 150px);
    max-width: min(50%, 600px);
    gap: 0.375rem;
}

#photo_1 {
  grid-column: 1 / span 2;
  grid-row: 1 / span 1;
}

#video_1 {
  grid-column: 3 / span 1;
  grid-row: 1 / span 1;
}

#video_2 {
  grid-column: 1 / span 1;
  grid-row: 2 / span 2;
}

#photo_2 {
  grid-column: 2 / span 2;
  grid-row: 2 / span 2;
}

.hero-image,
.hero-video {
    width: 100%;
    height: 100%;
    min-width: 100px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* ===== Services Section Styles ===== */
.services {
    position: relative;
    padding: 4rem 2rem;
    margin: 2rem 0;
    margin-bottom: 0;
    backdrop-filter: blur(5px);
    overflow: hidden;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

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

.services-header h2 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.services-header h3 {
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.accent-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-secondary));
    margin: 0 auto;
    border-radius: 2px;
}

.service-content {
    display: grid;
    gap: 2rem;
}

.service-block {
    background: rgba(255, 255, 255, 0.6);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.service-block h4 {
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.service-block p {
    line-height: 1.6;
    color: var(--color-primary);
}

.color-accent {
    color: var(--color-accent) !important;
}

.service-highlight {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-dark));
    color: var(--color-white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.service-highlight h4 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.service-highlight p {
    color: rgba(255, 255, 255, 0.9);
}

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

.service-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--color-accent);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--color-accent), var(--color-secondary));
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-card h5 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--color-primary);
    line-height: 1.5;
}

/* Floating Beans Animation */
.floating-beans {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.bean {
    position: absolute;
    font-size: 1.5rem;
    color: var(--color-accent);
    opacity: 0.6;
    animation: float 8s infinite ease-in-out;
}

.bean-1 {
    top: 10%;
    right: 20px;
    animation-delay: 0s;
}

.bean-2 {
    top: 25%;
    right: 40px;
    animation-delay: 1s;
}

.bean-3 {
    top: 45%;
    right: 15px;
    animation-delay: 2s;
}

.bean-4 {
    top: 65%;
    right: 35px;
    animation-delay: 3s;
}

.bean-5 {
    top: 85%;
    right: 25px;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.4;
    }
    25% {
        transform: translateY(-10px) rotate(90deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-5px) rotate(180deg);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-15px) rotate(270deg);
        opacity: 0.6;
    }
}

/* ===== RESPONSIVE DESIGN ===== */
        
/* Tablet Styles */
@media (max-width: 900px) {
    header {
        padding: 1rem;
    }

    .navbar {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
        padding: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        flex-direction: column;
        margin-right: 0;
        padding: 1rem;
        text-align: center;
        align-items: center;
    }

    .hero__left,
    .hero__right {
        max-width: 100%;
        min-width: auto;
    }

    .hero__left {
        margin-top: 1rem;
        order: 2;
    }

    .hero__right {
        order: 1;
        padding: 3rem;
        grid-template-rows: repeat(2, 120px);
    }

    /* Services Section - Tablet */
    .services {
        margin: 1rem;
        padding: 3rem 1.5rem;
    }

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

    .floating-beans {
        display: none;
    }
}

/* Mobile Styles */
@media (max-width: 480px) {
    .hero {
        padding: 0.5rem;
        margin: 0;
    }

    .hero__left {
        margin-top: 0;
        padding: 1rem 0;
    }

    .hero__right {
        margin: auto;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 100px);
        gap: 0.25rem;
    }

    #photo_1 {
        grid-column: 1 / span 2;
        grid-row: 1 / span 1;
    }

    #video_1 {
        grid-column: 1 / span 1;
        grid-row: 2 / span 1;
    }

    #video_2 {
        grid-column: 2 / span 1;
        grid-row: 2 / span 1;
    }

    #photo_2 {
        grid-column: 1 / span 2;
        grid-row: 3 / span 2;
    }

    .hero-btn {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Services Section - Mobile */
    .services {
        margin: 0.5rem;
        padding: 2rem 1rem;
        border-radius: 15px;
    }

    .services-header {
        margin-bottom: 2rem;
    }

    .service-block,
    .service-highlight {
        padding: 1.5rem;
    }

    .service-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 1.5rem 0;
    }

    .service-card {
        padding: 1.5rem;
    }

    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .floating-beans {
       display: none;
    }
}
