@import './buttons.css';
@import './nav.css';
@import './footer.css';
@import './base.css';

.hero {
    position: relative;
    height: 100vh;
    margin-top: -60px;
    padding-top: 60px;
    overflow: hidden;
}

.hero-container {
    position: relative;
    height: 100%;
    margin-top: -50px;
    padding-top: 50px;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.coffee {
    position: absolute;
    bottom: 0;
    z-index: 50;
    left: 50%;
    transform: translateX(-50%);
}

.coffee img {
    width: auto;
    height: 100%;

}

.cs-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: 2;
    pointer-events: none;
    fill: var(--dark-primary-color);
}

.cs-wave-2 {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: 2;
    pointer-events: none;
    fill: var(--section-bg);
    filter: drop-shadow(0 -6px 12px rgba(116, 94, 89, 0.18));
}

.section-wave {
    transform: scaleY(-1);
    margin-bottom: -2px;
}

.hero-text {
    position: absolute;
    color: var(--primary-color);
    top: 200px;
    text-align: center;
    z-index: 99;
    left: 50%;
    left: 50%;
    transform: translate(-50%);
    padding: 10px;
}

.hero-text h1 {
    font-size: 30px;
}

.hero-text p {
    font-size: 20px;
}

.offer-text {
    text-align: center;
    margin-bottom: 50px;
}

.offer-text h4 {
    color: var(--accent-color);
    letter-spacing: .3rem;
}

.offer-text h1 {
    font-size: 1.7rem;
    padding-bottom: 20px;
}

.offer-text p {
    color: var(--secondary-color);
}

.offer-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px 30px;
    position: relative;
}

.detail {
    background-color: var(--tertiary-color);
    color: var(--primary-color);
    border-radius: 10px;
    padding: 20px 30px 20px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;

}

.detail:hover {
    box-shadow: 0 12px 32px 0 rgba(0, 0, 0, 0.18), 0 2px 8px 0 var(--highlight-color);
    transform: translateY(-10px) scale(1.03);
    z-index: 2;
}

.icon-container {
    width: 60px;
    height: 60px;
    border-radius: 5px;
    background-color: var(--secondary-color);
    position: absolute;
    transform: translateY(-80%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.d-icon {
    color: var(--primary-color);
    font-size: 25px;

}

.detail h3 {
    margin-top: 40px;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.detail p {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.d-footer {
    background-color: var(--dark-primary-color);
    color: var(--secondary-color);
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    margin-top: 30px;
    margin-bottom: 50px;
}

.intro-container {
    padding-bottom: 50px;
    flex-direction: column;
    background-color: var(--section-bg);
}

.intro-picture {
    width: 90%;
    height: auto;
    margin-right: auto;
    margin-left: auto;
}

.intro-picture img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.text-container {
    margin-top: auto;
    margin-bottom: auto;
    text-align: center;
}

.text-container h1 {
    font-size: 2.5rem;
    color: var(--dark-color);
    padding-bottom: 10px;
}

.text-container h4 {
    color: var(--accent-color);
    letter-spacing: .3rem;
}

.text-container p {
    font-size: 1rem;
    color: var(--dark-secondary-color);
    padding-bottom: 30px;
}

.testimonials {
    background-color: var(--dark-primary-color);
    padding: 30px 0;
}

.testimonials h1 {
    text-align: center;
    color: var(--dark-color);
    font-size: 1.7rem;
    padding-bottom: 20px;
}

.testimonials h4 {
    color: var(--accent-color);
    letter-spacing: .3rem;
    text-align: center;
}

.testimonials p {
    color: var(--secondary-color);
    text-align: center;
    padding-bottom: 10px;
    font-size: 1.2rem;
}

.testimonials h5 {
    color: green;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding-top: 30px;
    width: 100%;
}

.testimonial {
    background-color: var(--tertiary-color);
    color: var(--dark-color);
    border-radius: 10px;
    padding: 20px 30px 20px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    position: relative;
    box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.18), 0px 2px 8px 0px var(--highlight-color);
}

.testimonial .fa-quote-right {
    font-size: 30px;
    color: var(--dark-color);
    padding-bottom: 30px
}

.star-rating {
    color: var(--accent-color);
    font-size: 20px;
    margin-bottom: 10px;
    text-align: center;
    text-shadow:
        0 4px 16px rgba(0, 0, 0, 0.18),
        0 1px 2px rgba(0, 0, 0, 0.12);
    padding-bottom: 30px;
}

.cta-btn-2 {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
}

@media (max-width: 450px) and (min-width: 320px) {
    .coffee {
        display: none;
    }

    .hero-text {
        width: 80%;
    }
}

@media (max-width: 768px) {
    .coffee {
        top: 0;
        bottom: unset;
    }
}

@media (max-width: 1024px) {
    .coffee {
        top: 0;
        bottom: unset;
    }
}

@media (max-width: 1440px) {
    .coffee {
        top: 0;
        bottom: unset;
    }
}

@media (max-width: 2000px) {
    .coffee {
        top: 0;
        bottom: unset;
    }
}