/* --- Փոփոխականներ (Թեմատիկ գույներ) --- */
:root {
    --primary-color: #5b0e2d; /* Բորդո / Գինու գույն */
    --accent-color: #d4af37; /* Ոսկեգույն */
    --dark-bg: #1a1a1a;
    --light-bg: #f9f6f0;
    --text-dark: #333333;
    --text-light: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Roboto', sans-serif;
}

/* --- Հիմնական Կարգավորումներ --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--light-bg);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-dark {
    background-color: var(--dark-bg);
    color: var(--text-light);
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.divider {
    height: 3px;
    width: 60px;
    background-color: var(--accent-color);
    margin-bottom: 30px;
}

/* --- Նավիգացիա --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(26, 26, 26, 0.95);
    color: var(--text-light);
    z-index: 1000;
    transition: padding 0.3s ease;
    padding: 20px 0;
}

header.scrolled {
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo span { color: var(--accent-color); }

.nav-menu ul {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.nav-menu a:hover { color: var(--accent-color); }

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Գլխավոր Էկրան (Hero) --- */
.hero {
    height: 100vh;
    background: url('../img/Winery.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--text-light);
    text-transform: uppercase;
    font-weight: 500;
    border: 1px solid var(--primary-color);
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* --- Մեր Մասին --- */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.about-text p { margin-bottom: 20px; }

.about-image img {
    width: 100%;
    height: 400px; /* Ստանդարտացված բարձրություն */
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* --- Գինիներ (Խիստ ստանդարտացված չափերով) --- */
.wines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.wine-card {
    background-color: #262626;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s;
    /* Ապահովում ենք, որ բոլոր քարտերը ունենան նույն բարձրությունը */
    display: flex;
    flex-direction: column;
    height: 100%;
}

.wine-card:hover { transform: translateY(-10px); }

.wine-img-wrapper {
    width: 100%;
    height: 350px; /* Բոլոր նկարները կունենան ճիշտ նույն չափը */
}

.wine-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Կտրում է ավելցուկը, բայց պահպանում է ֆորմատը */
}

.wine-info {
    padding: 25px;
    text-align: center;
    flex-grow: 1; /* Լրացնում է մնացած տարածքը */
    display: flex;
    flex-direction: column;
}

.wine-info h3 {
    font-family: var(--font-heading);
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.wine-year {
    font-weight: 700;
    color: #888;
    margin-bottom: 15px;
}

/* --- Կապ և Քարտեզ --- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    margin-top: 50px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 20px;
    margin-top: 5px;
}

.info-item h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.contact-map {
    height: 400px;
    background-color: #eee;
    border-radius: 5px;
    overflow: hidden;
}

/* --- Ֆուտեր --- */
footer {
    background-color: var(--dark-bg);
    color: #888;
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid #333;
}

/* --- Ռեսփոնզիվ (Mobile) --- */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%; left: 0; width: 100%;
        background-color: rgba(26, 26, 26, 0.98);
        padding: 20px 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: center;
    }
    
    .mobile-menu-btn { display: block; }
    
    .hero-content h1 { font-size: 2.8rem; }
    
    .about-container, .contact-container {
        grid-template-columns: 1fr;
    }
    
    .about-image img { height: 300px; }
}