/* Sonava Wine - Custom Styles */

:root {
    --wine-color: #8B0000;
    --wine-dark: #5C0000;
    --wine-light: #A52A2A;
    --gold-color: #D4AF37;
    --dark-bg: #1a1a1a;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 76px;
}

.btn-language {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.7);
    padding: 4px 12px;
    margin-left: 5px;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-language:hover,
.btn-language.active {
    background-color: var(--wine-color);
    border-color: var(--wine-color);
    color: white;
}

/* Navigation */
.navbar {
    z-index: 1029;
    top: 0;
    margin-top: 0;
    border-top: none;
}

.navbar-dark {
    background-color: #212529 !important;
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wine-bottle-icon {
    width: 20px;
    height: 32px;
    vertical-align: middle;
    margin-right: 4px;
    flex-shrink: 0;
}

.navbar-nav {
    margin-left: 20px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--gold-color) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%231a1a1a" width="1200" height="600"/></svg>');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    min-height: 100vh;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.3) 0%, rgba(26, 26, 26, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--wine-color) 0%, var(--wine-dark) 100%);
    padding: 100px 0 50px;
    margin-top: 34px;
}

.page-header-with-bg {
    background: linear-gradient(rgba(139, 0, 0, 0.7), rgba(92, 0, 0, 0.7)), url('../images/2/1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0 50px;
    margin-top: 34px;
    position: relative;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.6) 0%, rgba(92, 0, 0, 0.6) 100%);
}

.page-header-with-bg .container {
    position: relative;
    z-index: 1;
}

/* Buttons */
.btn-wine {
    background-color: var(--wine-color);
    border-color: var(--wine-color);
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    transition: all 0.3s;
}

.btn-wine:hover {
    background-color: var(--wine-dark);
    border-color: var(--wine-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.3);
}

/* Text Colors */
.text-wine {
    color: var(--wine-color) !important;
}

/* Section Titles */
.section-title {
    color: var(--wine-color);
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gold-color);
}

/* Product Cards */
.product-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

.product-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-card-detail {
    border: none;
    transition: transform 0.3s;
}

.product-card-detail:hover {
    transform: translateY(-5px);
}

.product-card-detail img,
.product-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Cards */
.card {
    border-radius: 10px;
    overflow: hidden;
}

/* Footer */
footer {
    margin-top: auto;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    body {
        padding-top: 110px;
    }
    
    .hero-section {
        background-attachment: scroll;
    }
    
    .product-card img,
    .product-card-detail img,
    .product-image {
        width: 100%;
        height: auto;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .navbar {
        top: 0;
    }
    
    body {
        padding-top: 76px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.6s ease-out;
}

/* Gallery Images */
.gallery-thumb {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.gallery-thumb:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.gallery-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Age Verification Modal */
#ageVerificationModal .modal-backdrop {
    background-color: rgba(0, 0, 0, 1) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 1 !important;
}

/* Modal açıkken body içeriğini gizle */
body.modal-open {
    overflow: hidden;
}

body.modal-open > *:not(.modal):not(.modal-backdrop) {
    visibility: hidden;
    opacity: 0;
}

body.modal-open .modal,
body.modal-open .modal-backdrop {
    visibility: visible;
    opacity: 1;
}

#ageVerificationModal .modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

#ageVerificationModal .modal-header {
    background: linear-gradient(135deg, var(--wine-color) 0%, var(--wine-dark) 100%);
    color: white;
    border-bottom: none;
    border-radius: 15px 15px 0 0;
    padding: 1.5rem;
}

#ageVerificationModal .modal-header .modal-title {
    font-weight: 700;
    font-size: 1.5rem;
}

#ageVerificationModal .modal-body {
    padding: 2rem;
    text-align: center;
}

#ageVerificationModal .modal-body .warning-text {
    background-color: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    color: #856404;
    font-size: 0.95rem;
    line-height: 1.6;
}

#ageVerificationModal .modal-body .info-text {
    color: #6c757d;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

#ageVerificationModal .modal-body .question-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--wine-color);
    margin: 1.5rem 0;
}

#ageVerificationModal .modal-footer {
    border-top: none;
    padding: 1.5rem;
    justify-content: center;
    gap: 1rem;
}

#ageVerificationModal .btn-age {
    padding: 12px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    min-width: 120px;
}

#ageVerificationModal .btn-age-yes {
    background-color: var(--wine-color);
    border-color: var(--wine-color);
    color: white;
}

#ageVerificationModal .btn-age-yes:hover {
    background-color: var(--wine-dark);
    border-color: var(--wine-dark);
    color: white;
}

#ageVerificationModal .btn-age-no {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
}

#ageVerificationModal .btn-age-no:hover {
    background-color: #5a6268;
    border-color: #5a6268;
    color: white;
}

