/* Custom CSS for Mutfak City - Optimized */

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* Başlık Stilleri */
.display-5 {
    background: linear-gradient(135deg, #c1b4ab 0%, #a2a795 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    position: relative;
}

.display-5::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #c1b4ab, #a2a795);
    border-radius: 2px;
}

.section-title {
    background: linear-gradient(135deg, #c1b4ab 0%, #a2a795 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #c1b4ab, #a2a795);
    border-radius: 2px;
}

.section-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

/* Hover efektleri kaldırıldı - Başlıklar sabit kalacak */

/* Image Optimization */
img {
    max-width: 100%;
    height: auto;
    will-change: auto;
}

/* Lazy Loading Optimizations */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Performance Optimizations */
.card-img-top {
    aspect-ratio: 16/9;
    object-fit: cover;
    background: #f8f9fa;
}

/* Preload critical images */
.carousel-item.active img {
    loading: auto;
}

/* Intersection Observer for better lazy loading */
.lazy-image {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-image.loaded {
    opacity: 1;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding-top: 0;
    margin-top: 0;
}

#heroCarousel {
    min-height: 100vh;
    margin-top: 0;
    padding-top: 0;
}

#heroCarousel .carousel-item {
    min-height: 100vh;
    margin-top: 0;
    padding-top: 0;
}

#heroCarousel .carousel-item img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    filter: brightness(0.7);
}

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

#heroCarousel .carousel-caption h1 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    margin-bottom: 2rem;
    font-size: 3.5rem;
    font-weight: bold;
}

#heroCarousel .carousel-caption .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

#heroCarousel .carousel-indicators {
    bottom: 30px;
}

#heroCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
    width: 5%;
}

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

/* Masonry Grid Styles */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 1rem;
    margin: 0 auto;
    max-width: 100%;
}

.masonry-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    text-align: center;
    border: 1px solid #a2a795;
}

.masonry-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px 8px 0 0;
    object-fit: cover;
}

.masonry-item .item-title {
    padding: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: #333;
    background: white;
    border-radius: 0 0 8px 8px;
    line-height: 1.2;
}

/* Responsive Grid */
@media (max-width: 1400px) {
    .masonry-grid {
        grid-template-columns: repeat(8, 1fr);
    }
}

@media (max-width: 1200px) {
    .masonry-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 992px) {
    .masonry-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 768px) {
    .masonry-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 576px) {
    .masonry-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .masonry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-section {
        padding-top: 0;
        margin-top: 0;
    }
    
    #heroCarousel {
        padding-top: 0;
        margin-top: 0;
    }
    
    #heroCarousel .carousel-item {
        padding-top: 0;
        margin-top: 0;
    }
    
    /* Navbar responsive düzeltmeleri */
    .navbar {
        z-index: 1030;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
    }
}

/* Services Section Styles */
.service-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
    border-top: 3px solid #a2a795;
}

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

.service-icon {
    margin-bottom: 1.5rem;
}

.service-card h4 {
    color: #333;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-card ul li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.service-feature {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.service-feature h5 {
    color: #333;
    font-weight: 600;
}

.service-feature p {
    line-height: 1.6;
}

/* About Section Styles */
.about-content {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
    border-left: 3px solid #a2a795;
}

.about-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.about-content h4 {
    color: #333;
    font-weight: 600;
}

.about-content p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background-color: #a2a795 !important;
    z-index: 1030;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

/* Side Menu Styles */
.navbar-collapse {
    transition: all 0.3s ease;
}

@media (max-width: 991px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #a2a795;
        padding: 2rem 1rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
        overflow-y: auto;
    }
    
    .navbar-collapse.show {
        right: 0;
    }
    
    .navbar-nav {
        flex-direction: column;
        width: 100%;
    }
    
    .navbar-nav .nav-item {
        margin: 0.5rem 0;
        width: 100%;
    }
    
    .navbar-nav .nav-link {
        padding: 1rem;
        border-radius: 8px;
        transition: all 0.3s ease;
        font-size: 1.1rem;
        font-weight: 500;
    }
    
    .navbar-nav .nav-link:hover {
        background: rgba(255,255,255,0.1);
        transform: translateX(5px);
    }
    
    /* Close button for side menu */
    .navbar-toggler {
        border: none;
        padding: 0.5rem;
        background: transparent;
        color: white;
        font-size: 1.5rem;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
    }
    
    /* X close button for mobile menu */
    .navbar-close-btn {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: transparent;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        z-index: 1050;
        padding: 0.5rem;
        border-radius: 50%;
        transition: all 0.3s ease;
    }
    
    .navbar-close-btn:hover {
        background: rgba(255,255,255,0.1);
        transform: scale(1.1);
    }
    
    .navbar-close-btn:focus {
        box-shadow: none;
        outline: none;
    }
    
    /* Overlay when menu is open */
    .navbar-collapse::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0,0,0,0.5);
        z-index: -1;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .navbar-collapse.show::before {
        opacity: 1;
    }
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: white !important;
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.9) !important;
}

.navbar-nav .nav-link:hover {
    color: white !important;
}

/* Products Section */
.product-item {
    transition: transform 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
}

.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.badge {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

/* Filter Buttons */
.btn-group .btn {
    border-radius: 25px;
    margin: 0 0.25rem;
}

.btn-group .btn.active {
    background-color: #c1b4ab;
    border-color: #c1b4ab;
}

/* Contact Info */
.contact-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #a2a795;
}

/* Modern İletişim Formu Stilleri */
.contact-form {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #c1b4ab, #a2a795);
}

.contact-form .form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1rem 1.2rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.contact-form .form-control:focus {
    border-color: #c1b4ab;
    box-shadow: 0 0 0 0.2rem rgba(193, 180, 171, 0.25);
    background: #ffffff;
    transform: translateY(-2px);
}

.contact-form .form-control:hover {
    border-color: #a2a795;
    transform: translateY(-1px);
}

.contact-form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.contact-form .btn {
    background: linear-gradient(135deg, #c1b4ab 0%, #a2a795 100%);
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(193, 180, 171, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-form .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.contact-form .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(193, 180, 171, 0.4);
}

.contact-form .btn:hover::before {
    left: 100%;
}

.contact-form .btn:active {
    transform: translateY(-1px);
}

/* Form grup animasyonları */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group .form-control {
    position: relative;
    z-index: 1;
}

/* Harita Bölümü Stilleri */
.map-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.map-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #c1b4ab, #a2a795);
}

.map-title {
    color: #333;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.map-title i {
    color: #c1b4ab;
    font-size: 1.2rem;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.map-container iframe {
    border-radius: 12px;
    transition: all 0.3s ease;
}

/* Harita responsive tasarım */
@media (max-width: 768px) {
    .map-section {
        padding: 1rem;
        margin-top: 1.5rem;
    }
    
    .map-title {
        font-size: 1rem;
    }
    
    .map-container iframe {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .map-section {
        padding: 0.8rem;
        margin-top: 1rem;
    }
    
    .map-title {
        font-size: 0.9rem;
    }
    
    .map-container iframe {
        height: 200px;
    }
}

/* Form Styles */
.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
}

.form-control:focus {
    border-color: #c1b4ab;
    box-shadow: 0 0 0 0.2rem rgba(193,180,171,0.25);
}

.btn {
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 600;
}

.btn-primary {
    background-color: #a2a795;
    border-color: #a2a795;
}

.btn-primary:hover {
    background-color: #8f9a85;
    border-color: #8f9a85;
}

.btn-outline-primary {
    color: #c1b4ab;
    border-color: #c1b4ab;
}

.btn-outline-primary:hover {
    background-color: #c1b4ab;
    border-color: #c1b4ab;
    color: white;
}

.btn-outline-primary.active {
    background-color: #c1b4ab !important;
    border-color: #c1b4ab !important;
    color: white !important;
}

.btn-outline-primary:focus {
    background-color: #c1b4ab !important;
    border-color: #c1b4ab !important;
    color: white !important;
    box-shadow: 0 0 0 0.2rem rgba(193,180,171,0.25) !important;
}

.btn-outline-primary:active {
    background-color: #c1b4ab !important;
    border-color: #c1b4ab !important;
    color: white !important;
}

.btn-outline-primary:not(:disabled):not(.disabled):active {
    background-color: #c1b4ab !important;
    border-color: #c1b4ab !important;
    color: white !important;
}

.btn-outline-primary:not(:disabled):not(.disabled).active {
    background-color: #c1b4ab !important;
    border-color: #c1b4ab !important;
    color: white !important;
}

/* Modal Styles */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.modal-header {
    border-bottom: 1px solid #e9ecef;
    padding: 1.5rem;
}

.modal-body {
    padding: 2rem;
}

.modal-title {
    font-weight: 600;
    color: #333;
}

#modalProductImage {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

#modalProductTitle {
    color: #333;
    font-weight: 600;
}

#modalProductDescription {
    line-height: 1.6;
    color: #666;
}

.product-features ul li {
    margin-bottom: 0.5rem;
    color: #555;
}

.product-features h6 {
    color: #333;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .contact-form .form-control {
        padding: 0.8rem 1rem;
    }
    
    .contact-form .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .hero-section {
        text-align: center;
        padding-top: 0;
        margin-top: 0;
    }
    
    #heroCarousel {
        padding-top: 0;
        margin-top: 0;
    }
    
    #heroCarousel .carousel-item {
        padding-top: 0;
        margin-top: 0;
    }
    
    #heroCarousel .carousel-caption {
        top: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        left: 50%;
    }
    
    #heroCarousel .carousel-caption h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    #heroCarousel .carousel-caption .lead {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    #heroCarousel .carousel-caption .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    .btn-group {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .btn-group .btn {
        margin: 0.25rem;
    }
    
    .contact-info {
        margin-top: 2rem;
    }
    
    /* Navbar responsive düzeltmeleri */
    .navbar {
        z-index: 1030;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
    }
    
    /* Side menu responsive */
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #a2a795;
        padding: 2rem 1rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
        overflow-y: auto;
    }
    
    .navbar-collapse.show {
        right: 0;
    }
    
    .navbar-nav {
        flex-direction: column;
        width: 100%;
    }
    
    .navbar-nav .nav-item {
        margin: 0.5rem 0;
        width: 100%;
    }
    
    .navbar-nav .nav-link {
        padding: 1rem;
        border-radius: 8px;
        transition: all 0.3s ease;
        font-size: 1.1rem;
        font-weight: 500;
    }
    
    .navbar-nav .nav-link:hover {
        background: rgba(255,255,255,0.1);
        transform: translateX(5px);
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-form .form-control {
        padding: 0.7rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .contact-form .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .contact-form .form-label {
        font-size: 0.85rem;
    }
    
    .hero-section {
        padding-top: 0;
        margin-top: 0;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    #heroCarousel {
        padding-top: 0;
        margin-top: 0;
    }
    
    #heroCarousel .carousel-item {
        padding-top: 0;
        margin-top: 0;
    }
    
    #heroCarousel .carousel-caption {
        top: 50%;
        transform: translate(-50%, -50%);
        width: 95%;
        left: 50%;
    }
    
    #heroCarousel .carousel-caption h1 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    #heroCarousel .carousel-caption .lead {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }
    
    #heroCarousel .carousel-caption .btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    /* Navbar responsive düzeltmeleri */
    .navbar {
        z-index: 1030;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Override Bootstrap's default blue colors */
.btn-outline-primary:focus,
.btn-outline-primary.focus {
    box-shadow: 0 0 0 0.2rem rgba(193,180,171,0.25) !important;
}

.btn-outline-primary:not(:disabled):not(.disabled):active:focus,
.btn-outline-primary:not(:disabled):not(.disabled).active:focus {
    box-shadow: 0 0 0 0.2rem rgba(193,180,171,0.25) !important;
}

/* Remove any remaining blue flashes */
.btn-outline-primary:active,
.btn-outline-primary.active,
.btn-outline-primary:focus,
.btn-outline-primary.focus {
    background-color: #c1b4ab !important;
    border-color: #c1b4ab !important;
    color: white !important;
}

/* Override any Bootstrap default blue colors */
.btn-outline-primary {
    color: #c1b4ab !important;
    border-color: #c1b4ab !important;
}

.btn-outline-primary:hover {
    background-color: #c1b4ab !important;
    border-color: #c1b4ab !important;
    color: white !important;
}

/* Icon Colors */
.text-primary {
    color: #c1b4ab !important;
}

.fas.fa-utensils,
.fas.fa-home,
.fas.fa-tools,
.fas.fa-drafting-compass,
.fas.fa-clipboard-check,
.fas.fa-calendar-alt,
.fas.fa-award,
.fas.fa-shipping-fast,
.fas.fa-users,
.fas.fa-heart,
.fas.fa-map-marker-alt,
.fas.fa-phone,
.fas.fa-mobile-alt,
.fas.fa-envelope,
.fas.fa-check {
    color: #c1b4ab !important;
}

/* Service icons */
.service-icon .fas {
    color: #c1b4ab !important;
}

/* Contact icons */
.contact-info .fas {
    color: #c1b4ab !important;
}

/* Footer icons */
footer .fas,
.footer-modern .fas {
    color: white !important;
}

/* Social media icons in buttons */
.btn-outline-primary .fab {
    color: #c1b4ab !important;
}

.btn-outline-primary:hover .fab {
    color: white !important;
}

/* Modern Footer Styles */
.footer-modern {
    background: #c1b4ab;
    color: white;
    position: relative;
}

.footer-modern p,
.footer-modern span {
    color: white;
}

.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #a2a795 0%, #c1b4ab 100%);
}

.footer-top {
    background: rgba(255,255,255,0.05);
}

.footer-widget {
    padding: 0 15px;
}

.footer-logo {
    display: flex;
    align-items: center;
    color: white;
}

.footer-title {
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #c1b4ab;
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
    font-weight: bold;
}

.footer-links a:hover {
    color: rgba(255,255,255,0.8);
    padding-left: 5px;
}

.contact-info-footer .contact-item {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.contact-info-footer .contact-item i {
    color: white !important;
    width: 20px;
    text-align: center;
}

.social-links-footer {
    display: flex;
    gap: 15px;
    margin-bottom: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.3);
}

.social-link:hover {
    background: white;
    color: #c1b4ab;
    transform: translateY(-2px);
}



.footer-bottom {
    background: rgba(0,0,0,0.1);
    border-top: 1px solid rgba(255,255,255,0.2);
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #c1b4ab;
}

/* Copyright link styling */
.footer-bottom p a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom p a:hover {
    color: #c1b4ab;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-bottom-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .footer-widget {
        text-align: center;
    }
    
    .social-links-footer {
        justify-content: center;
    }
}

/* WhatsApp Widget Styles */
.whatsapp-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.whatsapp-button {
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    position: relative;
    animation: pulse 2s infinite;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    animation: bounce 1s infinite;
}

.whatsapp-chat {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    height: 400px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chat-header {
    background: #25d366;
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.chat-info {
    flex: 1;
}

.chat-info h6 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.chat-info small {
    opacity: 0.8;
    font-size: 12px;
}

.close-chat {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
}

.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f8f9fa;
}

.message {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.message.received {
    align-items: flex-start;
}

.message.sent {
    align-items: flex-end;
}

.message-content {
    background: white;
    padding: 10px 15px;
    border-radius: 18px;
    max-width: 80%;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    font-size: 14px;
    line-height: 1.4;
}

.message.sent .message-content {
    background: #dcf8c6;
}

.message-time {
    font-size: 11px;
    color: #666;
    margin-top: 5px;
    margin-left: 15px;
}

.message.sent .message-time {
    margin-left: 0;
    margin-right: 15px;
    text-align: right;
}

.chat-input {
    padding: 15px;
    background: white;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 10px;
    align-items: center;
}

.chat-input input {
    flex: 1;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    padding: 8px 15px;
    font-size: 14px;
    outline: none;
}

.chat-input input:focus {
    border-color: #25d366;
}

.chat-input button {
    background: #25d366;
    color: white;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-3px); }
    60% { transform: translateY(-1px); }
}

.chat-open {
    display: flex !important;
}

/* Notification sound */
.notification-sound {
    display: none;
}

/* Instagram Link Styles */
.instagram-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem !important;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-left: 0.5rem;
}

.instagram-link i {
    font-size: 1.2rem;
    color: #fff;
    transition: all 0.3s ease;
}

.instagram-link:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.instagram-link:hover i {
    color: #fff;
    transform: scale(1.1);
}

/* Mobile responsive for Instagram link */
@media (max-width: 991px) {
    .instagram-link {
        width: 35px;
        height: 35px;
        margin-left: 0.25rem;
    }
    
    .instagram-link i {
        font-size: 1rem;
    }
}

