body {
    background-image: url('./images/fon\ —\ копия.jpeg'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: #1A1A1A;
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.site-header {
    background-color: rgba(193, 193, 193, 0.161); 
    backdrop-filter: blur(10px);
    
    position: sticky;
    top: 0;
    z-index: 100;
    
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    
    transition: all 0.3s ease;
}   

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    width: 125px;
    height: 125px;
    border-radius: 50%;
    object-fit: cover;
}

.main-nav {
    display: flex;
    gap: 30px;
    margin-right: auto;
    margin-left: auto;
}

.nav-link {
    text-decoration: none;
    color: #555555;
    font-weight: 500;
    padding: 8px 4px;
    font-size: 23px;
    border-bottom: 3px solid transparent; 
    transition: all 0.3s ease;
}

.nav-link:hover{
    color: #ff7a59 !important; 
}

.nav-link.active {
    color: #ff7a59 !important;
    border-bottom: 3px solid #ff7a59;
}


.content-wrapper {
    flex: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.site-section {
    display: none;
}

.site-section.active {
    display: block;
    animation: fadeIn 0.4s ease-in-out;
}

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

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 60px 0;
}

.hero-text-block {
    flex: 1;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}



.btn-primary {
    background-color: #ff7a59;
    color: white;
    border: none;
    padding: 15px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
}

.btn-primary:hover {
    background-color: #e26343;
    transform: translateY(-2px);
}

.hero-image-block {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
}

.about-school-block {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 80px;
    background-color: rgba(255, 255, 255, 0.85);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.school-image-side {
    flex: 1;
}

.school-building-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    object-fit: cover;
}

.school-text-side {
    flex: 1;
}

.school-text-side h2 {
    font-size: 32px;
    font-weight: 800;
    color: #111111;
    margin: 0 0 12px 0;
}

.school-text-side .accent-line {
    width: 45px;
    height: 3px;
    background-color: #ff7a59;
    border-radius: 2px;
    margin-bottom: 28px;
}

.school-text-side p {
    font-size: 16px;
    line-height: 1.6;
    color: #555555;
    margin: 0 0 20px 0;
}

.shop-page-title {
    text-align: center;
    margin-bottom: 40px;
}

.shop-page-title h1 { font-size: 40px; font-weight: 800; }

.shop-layout {
    display: flex;
    gap: 40px;
}

.shop-sidebar {
    width: 250px;
    flex-shrink: 0;
}

.filter-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

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

.category-item {
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 6px;
    margin-bottom: 5px;
    transition: background 0.2s, color 0.2s;
}

.category-item.active, .category-item:hover {
    background-color: #ff7a59;
    color: white;
    font-weight: 600;
}

.shop-content {
    flex: 1;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.card-img-wrapper {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.card-bottle-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.product-name {
    font-size: 18px;
    font-weight: 600;
    margin: 10px 0;
}

.product-rating {
    color: #ffcc00;
    font-size: 14px;
    margin-bottom: 10px;
}

.reviews-count {
    color: #888888;
    margin-left: 5px;
}

.product-price {
    font-size: 20px;
    font-weight: 700;
    color: #ff7a59;
}

.hidden { display: none !important; }

.detail-container {
    display: flex;
    gap: 50px;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.04);
}

.detail-left-side { flex: 1; }
.detail-right-side { flex: 1; }
.detail-main-title { font-size: 36px; font-weight: 800; margin-bottom: 10px; }
.detail-visual-block { height: 400px; display: flex; align-items: center; justify-content: center; }
.detail-bottle-img { max-height: 100%; object-fit: contain; }

.tabs-header { display: flex; gap: 15px; border-bottom: 2px solid #EEEEEE; margin-bottom: 20px; }
.tab-btn { background: none; border: none; padding: 10px 20px; font-size: 16px; cursor: pointer; border-bottom: 2px solid transparent; color: #777777; }
.tab-btn.active { border-bottom-color: #ff7a59; color: #ff7a59; font-weight: 600; }
.tab-pane { display: none; line-height: 1.6; color: #555555; }
.tab-pane.active { display: block; }
.price-and-action { display: flex; align-items: center; gap: 30px; margin-top: 30px; }
.current-price { font-size: 32px; font-weight: 800; color: #ff7a59; }

.btn-order-now {
    background-color: #111111;
    color: white;
    border: none;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-order-now:hover { background-color: #ff7a59; }
.btn-back { background: none; border: none; font-size: 16px; cursor: pointer; font-weight: 600; margin-bottom: 20px; }

.wines-hero { display: flex; align-items: center; gap: 40px; padding: 40px 0; }
.wines-hero-text { flex: 1; }
.wines-hero-text h1 { font-size: 48px; font-weight: 800; }
.wines-hero-img-box { flex: 1; display: flex; justify-content: center; }
.wines-hero-img { max-height: 400px; }
.process-section { text-align: center; margin-top: 60px; }
.section-heading { font-size: 36px; font-weight: 800; margin-bottom: 40px; }
.process-steps-flow { display: flex; justify-content: center; align-items: center; gap: 20px; }
.step-card { background: white; padding: 30px; border-radius: 12px; flex: 1; max-width: 280px; box-shadow: 0 4px 15px rgba(0,0,0,0.02); }
.step-number { font-size: 36px; font-weight: 800; color: rgba(255, 51, 0, 0.818); display: block; margin-bottom: 10px; }
.step-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step-arrow { color: #ff7a59; font-size: 20px; }

.about-new-layout, .contact-page-container { background: white; padding: 50px; border-radius: 16px; box-shadow: 0 4px 25px rgba(0,0,0,0.03); }
.about-main-content, .contact-page-container { display: flex; align-items: center; gap: 40px; }
.about-left-text, .contact-text-side { flex: 1; }
.about-right-visual, .contact-visual-side { flex: 1; display: flex; justify-content: center; }
.about-title, .contact-main-title { font-size: 44px; font-weight: 800; }
.about-description{ font-size: 18px; color: #555555; margin-bottom: 30px; line-height: 1.6; }

.about-right-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}


.about-circle-graphic {
    width: 350px;                  
    height: 350px;                 
    background-color: #f3a38c;     
    border-radius: 50%;            
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;              
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
}


.about-grapes-overlay {
    height: 95%;                  
    width: auto;                   
    object-fit: contain;           
    display: block;
    transition: transform 0.3s ease; 
}
.about-values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.value-item-box { text-align: center; padding: 20px; }
.value-icon-outer { font-size: 28px; color: #ff7a59; margin-bottom: 15px; }
.contact-card-box { display: flex; align-items: center; gap: 20px; background: #FAF9F6; padding: 25px; border-radius: 12px; margin-top: 30px; }
.contact-phone-icon-circle { width: 50px; height: 50px; background: #ff7a59; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.contact-phone-number { font-size: 22px; font-weight: 700; color: #111111; text-decoration: none; }

.order-popup-overlay { position: fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.6); display:none; align-items:center; justify-content:center; z-index:1000; }
.order-popup-overlay.pop-active { display: flex; }
.order-popup-content { background:white; padding:40px; border-radius:16px; max-width:450px; text-align:center; position:relative; }
.popup-icon-box { font-size:40px; color:#ff7a59; margin-bottom:15px; }
.popup-phone-link { font-size:24px; font-weight:800; color:#ff7a59; text-decoration:none; display:block; margin:15px 0; }
.btn-popup-close { background:#111111; color:white; border:none; padding:10px 25px; border-radius:20px; cursor:pointer; margin-top:15px; }

.site-footer {
    background-color: transparent; 
    color: #111111; 
    padding: 30px 20px;
    margin-top: auto;
    font-size: 20px;
    background-color: #eeeeeeb8;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-phone {
    color: #ff7a59; 
    text-decoration: none;
    font-weight: 700;
    margin-left: 5px;
    font-size: 20px;
}

.footer-socials {
    display: flex;
    gap: 25px;
}

.footer-socials .social-link {
    color: #111111; 
    font-size: 24px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-socials .social-link:hover {
    color: #ff7a59;
    transform: scale(1.15);
}