:root {
    --primary-color: #4A3731;
    --secondary-color: #E5D3B3;
    --accent-color: #D4B895;
    --accent-transparan-color: #c0bab32a;
    --text-color: #4A3731;
    --background-color: #FFF9F0;
    --color-white: #fff;
    --font-primary: 'Raleway', sans-serif;
    --fw-light: 300;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-extrabold: 800;
}

body {
    font-family: var(--font-primary);
    background-color: var(--background-color);
    color: var(--text-color);
    font-weight: var(--fw-regular);
    overflow-x: hidden;
}

/* Header Styles */
header {
    background-color: var(--background-color);
    z-index: 1000;
    height: 100px;
}

/* .navbar {
    padding: 1rem 0;
} */

.navbar-brand {
    font-size: 2rem;
    color: var(--primary-color);
    text-transform: lowercase;
    font-weight: var(--fw-bold);
}

.navbar-brand .logo {
    height: 80px;
    width: auto;
}

.navbar-collapse {
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 8px;
}

.nav-link {
    color: var(--primary-color);
    margin: 0 1rem;
    font-weight: var(--fw-medium);
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    background: var(--accent-color);
    border-radius: 8px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.lang-selector {
    margin-right: 20px;
    position: relative;
    padding: 0 !important;
}

.lang-selector select {
    appearance: none;
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 5px 25px 5px 10px;
    font-size: 14px;
    font-weight: var(--fw-medium);
    cursor: pointer;
    outline: none;
    margin-right: -10px;
    border-radius: 4px;
}

.nav-select {
    background: transparent;
    border: none;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    padding: 8px;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.nav-select option {
    background: var(--background-color);
    color: var(--primary-color);
}

.lang-selector::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--primary-color);
}

@media (max-width: 991px) {
    .navbar-collapse {
        background-color: var(--background-color);
        padding: 1.5rem;
        margin-top: 1rem;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    .nav-link {
        color: var(--primary-color) !important;
        padding: 0.8rem 1rem;
        border-radius: 8px;
        margin: 0.2rem 0;
        font-weight: var(--fw-medium);
    }

    .nav-link:hover {
        background-color: var(--accent-transparan-color);
    }

    .lang-selector {
        margin: 0.5rem 1rem;
    }

    .lang-selector select {
        width: 100%;
        padding: 0.8rem 1rem;
        border: 1px solid var(--accent-color);
        background-color: var(--accent-transparan-color);
        text-align: center;
        margin: 0;
    }

    .lang-selector::after {
        right: 1rem;
    }
}

/* Hero Section */
.hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
    padding-top: 100px; /* Header yüksekliği kadar padding */
}

.carousel,
.carousel-inner,
.carousel-item {
    height: 100%;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: rgba(0, 0, 0, 0.4); */
    z-index: 1;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: 100%;
}

.carousel-caption h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    animation: fadeInDown 1s;
}

.carousel-caption h2 {
    font-size: 5rem;
    text-transform: lowercase;
    font-weight: 600;
    animation: fadeInUp 1s;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-section:hover .carousel-control-prev,
.hero-section:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

.carousel-indicators {
    z-index: 3;
    margin-bottom: 2rem;
}

.carousel-indicators button {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50%;
    background-color: #fff;
    border: none !important;
    margin: 0 6px !important;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.carousel-indicators button.active {
    opacity: 1;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
    
    .carousel-indicators button {
        width: 8px !important;
        height: 8px !important;
    }

    .hero-section {
        height: 50vh;
        padding-top: 60px;
    }

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

    .hero-section h2 {
        font-size: 1.5rem;
    }

    .carousel-item img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

    header {
        height: 65px;
    }

    .navbar-brand .logo {
        height: 40px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 10%;
    }

    .carousel-indicators {
        margin-bottom: 1rem;
    }

    .carousel-indicators button {
        width: 8px !important;
        height: 8px !important;
        margin: 0 4px !important;
    }

    .product-categories {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: space-between;
    }
    
    .category-btn {
        width: calc(48% - 0.25rem);
        margin-bottom: 0.5rem;
        padding: 0.4rem 0.5rem;
        font-size: 0.9rem;
    }

    .all-products {
        width: 100%;
        margin-left: 0;
        order: 999;
        margin-top: 1rem;
        padding: 0.5rem 1rem;
    }

    .product-item img {
        height: 200px;
    }

    footer {
        padding: 2rem 0;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 30vh;
    }
}

/* Products Section */
.products-section {
    padding: 5rem 0;
    background-color: var(--primary-color);
    color: var(--background-color);
}

.products-section h2 {
    font-weight: var(--fw-bold);
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.product-categories {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    position: relative;
}

.category-btn {
    background-color: var(--accent-transparan-color);
    border: none;
    color: var(--background-color);
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-weight: var(--fw-medium);
    transition: all 0.3s ease;
    opacity: 0.7;
}

.category-btn.active {
    background-color: var(--accent-color);
    color: var(--primary-color);
    opacity: 1;
}

.all-products {
    margin-left: auto;
    border: 1px solid var(--background-color);
    background: none;
}

.category-btn:hover {
    opacity: 1;
}

.products-slider {
    position: relative;
}

.product-item {
    margin-bottom: 2rem;
    text-align: left;
}

.product-image {
    position: relative;
    margin-bottom: 1rem;
    background-color: #fff;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.add-to-cart {
    position: absolute;
    top: 0.2rem;
    right: 0.2rem;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: transparent;
    transition: transform 0.3s ease;
}


.add-to-cart:hover {
    transform: scale(1.1);
}

.add-to-cart i {
    color: var(--color-white);
    font-size: 1.1rem;
}

.product-name {
    font-size: 1rem;
    font-weight: var(--fw-medium);
    margin-bottom: 0.5rem;
    color: var(--background-color);
}

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

.product-info .price {
    color: var(--color-white) !important;
    text-decoration: none !important;
}

a {
    text-decoration: none !important;
}

.price {
    font-weight: var(--fw-semibold);
    font-size: 1.1rem;
}

.weight {
    color: var(--accent-color);
    font-size: 0.9rem;
}

.slider-next {
    position: absolute;
    right: -2rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--background-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.slider-next:hover {
    opacity: 0.7;
}

/* Recipe Section */
.recipe-section {
    padding: 4rem 0;
}

.recipe-section .row {
    --recipe-size: 500px;
    margin: 0 -0.5rem;
}

.recipe-section .col-md-6 {
    padding: 0 0.5rem;
}

.recipe-section h2 {
    font-weight: var(--fw-bold);
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.recipe-card {
    height: var(--recipe-size);
    position: relative;
    overflow: hidden;
}

.recipe-card.striped {
    background: repeating-linear-gradient(
        90deg,
        #D4C301,
        #D4C301 20px,
        #FFF9F0 20px,
        #FFF9F0 40px
    );
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.recipe-card.striped .badge {
    background-color: var(--background-color);
    color: var(--primary-color);
    padding: 10px 50px;
    position: static;
    font-size: 1.2rem;
    font-weight: var(--fw-medium);
    text-transform: lowercase;
    margin-bottom: 2rem;
    align-self: flex-start;
    border-radius: 0px;
}

.recipe-card.striped .recipe-text {
    color: var(--primary-color);
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: var(--fw-regular);
    padding: 30px;
    background-color: var(--background-color);
}

.recipe-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* About Section */
.about1-section {
    padding: 5rem 0;
    background-color: var(--primary-color);
    color: var(--background-color);
}

.about1-section h2 {
    text-transform: uppercase;
    font-size: 18px;
}

.about1-section p {
    font-size: 16px;
    font-weight: var(--fw-regular);
}

.about-section {
    padding: 5rem 0;
    background-color: var(--background-color);
    color: var(--primary-color);
}

.about-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 500px;
}

.about-card {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.about-card.brown {
    background-color: #4A3731;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.about-card.brown h2 {
    color: var(--background-color);
    font-size: 2.5rem;
    font-weight: var(--fw-bold);
    margin: 0;
    text-align: center;
}

.about-card.striped {
    background: repeating-linear-gradient(
        90deg,
        #D4C301,
        #D4C301 20px,
        #FFF9F0 20px,
        #FFF9F0 40px
    );
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about-text {
    background-color: var(--background-color);
    padding: 2rem;
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--primary-color);
}

.about-image {
    height: 500px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Address Section */
.address-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--color-white);
}

.address-section h2 {
    /* text-align: center; */
    margin-bottom: 50px;
    font-weight: 700;
    color: var(--color-white);
}

.address-list {
    /* padding-right: 30px; */
}

.address-item {
    margin-bottom: 20px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.address-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.address-item h3 {
    color: var(--color-white);
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 4px;
}

.address-item p {
    color: var(--color-white);
    margin-bottom: 0px;
    font-size: 16px;
}

.map {
    height: 100%;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.map iframe {
    border-radius: 0px;
}

/* Footer */
footer {
    background-color: var(--background-color);
    color: var(--primary-color);
    padding: 5rem 0 3rem;
    border-top: 1px solid rgba(74, 55, 49, 0.1);
}

.footer-title {
    font-size: 1rem;
    font-weight: var(--fw-semibold);
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li, a {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 400;
}

.social-links {
    margin-bottom: 2rem;
}

.social-links a {
    color: var(--primary-color);
    margin-left: 1.5rem;
    font-size: 1.25rem;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.7;
}

.contact-email, .phone {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 400;
}

.privacy-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
}

.privacy-link:hover {
    text-decoration: underline;
}

.footer-brand {
    text-align: right;
}

.brand-text {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    font-weight: var(--fw-medium);
    letter-spacing: 1px;
}

.brand-name {
    font-size: 3.5rem;
    font-weight: var(--fw-bold);
    margin: 0;
    line-height: 1;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .recipe-card {
        height: auto !important;
    }

    .about-image {
        height: auto !important;
    }

    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section h2 {
        font-size: 3rem;
    }
    
    .navbar-brand .logo {
        height: 30px;
    }

    .product-categories {
        gap: 0.5rem;
        margin-bottom: 0rem;
    }

    .products-section {
        padding: 2rem 0;
    }
    
    .product-item img {
        height: 200px;
    }

    footer {
        padding: 3rem 0 2rem;
    }

    .social-links {
        margin-top: 2rem;
        text-align: left;
    }

    .social-links a {
        margin-left: 0;
        margin-right: 1.5rem;
    }

    .footer-brand {
        text-align: left;
        margin-top: 2rem;
    }

    .brand-name {
        font-size: 2.5rem;
    }

    /* Yeni eklenen stiller */
    .footer-menu,
    .footer-categories {
        width: 50%;
        float: left;
        margin-bottom: 2rem;
    }

    .footer-menu .footer-title,
    .footer-categories .footer-title {
        margin-bottom: 1rem;
    }
}

.order-btn {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: none;
    padding: 0.5rem 2rem;
    margin-top: 2rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    font-weight: 500;
    text-transform: lowercase;
}

.col-5-custom {
    width: 20%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    cursor: pointer;
}

@media (max-width: 768px) {
    .col-5-custom {
        width: 50%;
    }
}

/* Contact Form Section */
/* .contact-form-section {
    padding-top: 120px;
} */

.contact-form {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.contact-form .form-control,
.contact-form .form-select {
    border: 1px solid #ddd;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.contact-form .btn-primary {
    background-color: #8B4513;
    border: none;
    padding: 12px 40px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.contact-form .btn-primary:hover {
    background-color: #6B3410;
}

@media (max-width: 768px) {
    .about-text {
        padding: 1rem;
    }
    
    .about-card.striped {
        padding: 2rem;
    }
}