/*
* Charcutería Michinina - Main Stylesheet
* Author: Clone Developer
* Version: 1.0
*/

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

:root {
    --primary-color: #e8604c;
    --secondary-color: #9e5750;
    --dark-color: #412e2d;
    --light-color: #faf9f9;
    --gray-color: #9b9495;
    --accent-color: #bc8b5e;
    --overlay-color: rgba(0, 0, 0, 0.5);
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

[class*="col-"] {
    padding: 0 15px;
}

.col-md-6 {
    width: 50%;
}

.col-md-4 {
    width: 33.333333%;
}

/* Header Section */
.header_section {
    background-color: #222;
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.navbar-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    display: none;
}

.navbar-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: white;
    transition: all 0.3s ease;
}

/* Banner Section */
.banner_section {
    position: relative;
    background-image: url("../img/2440887163.jpeg");
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    height: 100vh;
    display: flex;
    align-items: center;
}

.banner_section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.slide.active {
    opacity: 1;
}

.banner_content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.outstanding_text {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.coffee_text {
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.there_text {
    font-size: 18px;
    margin-bottom: 30px;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.learnmore_bt {
    display: inline-block;
    margin-top: 20px;
}

.learnmore_bt a {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.learnmore_bt a:hover {
    background-color: var(--dark-color);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
    border: none;
    font-size: 24px;
    padding: 15px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

.slider-nav:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

/* About Section */
.about_section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.about_taital_main {
    padding-right: 30px;
}

.about_taital {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.about_text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.read_bt {
    display: inline-block;
}

.read_bt a {
    display: inline-block;
    background-color: #333;
    color: white;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.read_bt a:hover {
    background-color: var(--primary-color);
}

.about_img {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about_img img {
    width: 100%;
    transition: transform 0.5s ease;
}

.about_img:hover img {
    transform: scale(1.05);
}

/* Gallery Section */
.gallery_section {
    padding: 80px 0;
    background-color: #fff;
}

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

.gallery_taital {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.gallery_text {
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto;
}

.gallery_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
}

.gallery_item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.container_main {
    position: relative;
    overflow: hidden;
}

.container_main img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container_main:hover img {
    transform: scale(1.1);
}

.container_main:hover .overlay {
    background-color: rgba(0, 0, 0, 0.5);
}

/* Client Section */
.client_section {
    padding: 80px 0;
    background-color: #f5f5f5;
}

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

.client_taital {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.client_text {
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial_slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    display: none;
    animation: fadeEffect 1s;
}

.testimonial.active {
    display: block;
}

@keyframes fadeEffect {
    from {opacity: 0.4}
    to {opacity: 1}
}

.testimonial_content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial_content::before {
    content: """;
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 60px;
    color: #eee;
    font-family: Georgia, serif;
}

.client_name_text {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.customer_text {
    font-size: 16px;
    line-height: 1.8;
}

.testimonial_indicators {
    text-align: center;
    margin-top: 30px;
}

.indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicator.active {
    background-color: var(--primary-color);
}

/* Contact Section */
.contact_section {
    padding: 80px 0;
    background-color: #fff;
}

.contact_text {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 50px;
}

.contact_form_container {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.contact_form {
    flex: 1;
    padding: 0 15px;
    min-width: 300px;
}

.map_container {
    flex: 1;
    padding: 0 15px;
    min-width: 300px;
    height: 450px;
}

.form_group {
    margin-bottom: 20px;
}

.form_input,
.form_textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
}

.form_input:focus,
.form_textarea:focus {
    border-color: var(--primary-color);
}

.form_textarea {
    resize: vertical;
    min-height: 150px;
}

.main_bt {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.main_bt:hover {
    background-color: var(--dark-color);
}

/* Footer Section */
.footer_section {
    background-color: #222;
    color: white;
    padding: 20px 0;
    text-align: center;
}

.copyright_text {
    font-size: 14px;
}

.copyright_text a {
    color: var(--primary-color);
}

.copyright_text a:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .col-md-6 {
        width: 100%;
    }

    .about_taital_main {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .gallery_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar-toggle {
        display: block;
    }

    .outstanding_text {
        font-size: 36px;
    }

    .coffee_text {
        font-size: 42px;
    }

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

    .col-md-4 {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .outstanding_text {
        font-size: 28px;
    }

    .coffee_text {
        font-size: 32px;
    }

    .about_taital,
    .gallery_taital,
    .client_taital,
    .contact_text {
        font-size: 28px;
    }

    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}
