/* VinoCeltic Wine Website - Dark Theme Styles */

:root {
    /* Ultra Dark Theme Color Palette */
    --primary-dark: #0a0505;
    --secondary-dark: #140b06;
    --tertiary-dark: #1f0f0a;
    --accent-burgundy: #5a1e24;
    --accent-gold: #c29f2a;
    --wine-red: #6b0000;
    --wine-white: #f8f6f0;
    --text-light: #e8e6e3;
    --text-muted: #a8a5a2;
    --border-color: #2a1f1a;
    --gradient-primary: linear-gradient(135deg, #0a0505 0%, #140b06 100%);
    --gradient-secondary: linear-gradient(135deg, #140b06 0%, #1f0f0a 100%);
    --gradient-accent: linear-gradient(135deg, #5a1e24 0%, #6b0000 100%);
    --shadow-dark: rgba(0, 0, 0, 0.8);
    --shadow-darker: rgba(0, 0, 0, 0.9);
    --shadow-light: rgba(194, 159, 42, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--primary-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    color: var(--wine-white);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
}

h4 {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--accent-gold);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.logo h1 {
    color: var(--accent-gold);
    font-size: 2rem;
    margin-bottom: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--accent-gold);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-primary);
    padding: 120px 20px 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="%23d4af37" opacity="0.05"/><circle cx="80" cy="80" r="1" fill="%23d4af37" opacity="0.03"/><circle cx="40" cy="60" r="1" fill="%23d4af37" opacity="0.04"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-block;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--wine-white);
    box-shadow: 0 8px 25px var(--shadow-dark);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--shadow-dark);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-gold);
    border-color: var(--accent-gold);
}

.btn-secondary:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.hero-image {
    flex: 1;
    text-align: center;
    z-index: 2;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 50px var(--shadow-dark);
    filter: brightness(0.9) contrast(1.1);
}

/* Wine Sections */
.wines-section {
    padding: 100px 0;
    background: var(--gradient-secondary);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.wine-categories {
    display: grid;
    gap: 3rem;
    margin-top: 4rem;
}

.wine-category {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--gradient-primary);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px var(--shadow-darker);
}

.wine-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px var(--shadow-darker);
}

.wine-category.featured {
    border: 2px solid var(--accent-gold);
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--tertiary-dark) 100%);
    box-shadow: 0 15px 40px var(--shadow-darker), 0 0 20px rgba(194, 159, 42, 0.2);
}

.wine-category.featured::before {
    content: '★ FEATURED ★';
    position: absolute;
    top: -10px;
    left: 30px;
    background: var(--accent-gold);
    color: var(--primary-dark);
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.wine-category {
    position: relative;
}

.category-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    filter: brightness(0.8) contrast(1.2);
}

.category-content h3 {
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.wine-features {
    list-style: none;
    margin: 1.5rem 0;
}

.wine-features li {
    padding: 0.5rem 0;
    color: var(--text-muted);
    position: relative;
    padding-left: 1.5rem;
}

.wine-features li::before {
    content: '🍷';
    position: absolute;
    left: 0;
    top: 0.5rem;
}

.explore-btn {
    display: inline-block;
    background: var(--wine-red);
    color: var(--wine-white);
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.explore-btn:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Wine Guide Section */
.wine-guide {
    padding: 100px 0;
    background: var(--gradient-primary);
    position: relative;
}

.wine-guide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(194, 159, 42, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.guide-card {
    background: var(--gradient-secondary);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow-darker);
}

.guide-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-darker);
    border-color: var(--accent-gold);
}

.guide-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.wine-tips {
    margin-top: 2rem;
    text-align: left;
}

.wine-tips ul {
    list-style: none;
    margin-top: 1rem;
}

.wine-tips li {
    padding: 0.5rem 0;
    color: var(--text-muted);
    position: relative;
    padding-left: 1.5rem;
}

.wine-tips li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
}

/* Featured Wines Section */
.featured-wines {
    padding: 100px 0;
    background: var(--gradient-secondary);
    position: relative;
}

.featured-wines::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 5, 5, 0.3) 50%, transparent 100%);
    pointer-events: none;
}

.wine-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.wine-item {
    background: var(--gradient-primary);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px var(--shadow-darker);
}

.wine-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px var(--shadow-darker);
    border-color: var(--accent-gold);
}

.wine-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.1);
}

.wine-details {
    padding: 2rem;
}

.wine-details h3 {
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.wine-origin {
    color: var(--accent-gold);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wine-rating {
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-top: 1rem;
}

/* Wine Education Section */
.wine-education {
    padding: 100px 0;
    background: var(--gradient-primary);
    position: relative;
}

.wine-education::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(90, 30, 36, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(107, 0, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.education-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.education-text h2 {
    text-align: left;
    color: var(--accent-gold);
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.benefit {
    padding: 1.5rem;
    background: var(--gradient-secondary);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow-darker);
}

.benefit:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-darker);
}

.benefit h4 {
    margin-bottom: 0.5rem;
}

.benefit p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.education-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    filter: brightness(0.8) contrast(1.1);
}

/* Footer */
.footer {
    background: var(--gradient-primary);
    border-top: 2px solid var(--border-color);
    padding: 60px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(10, 5, 5, 0.5) 0%, var(--primary-dark) 100%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.footer-section h4 {
    color: var(--wine-white);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    padding: 0.3rem 0;
    color: var(--text-muted);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Enhanced Mobile Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 25px;
    }

    .wine-category {
        padding: 2.5rem;
        gap: 2rem;
    }

    .guide-card {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--gradient-primary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        border-top: 1px solid var(--border-color);
        box-shadow: 0 10px 30px var(--shadow-darker);
        backdrop-filter: blur(10px);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 140px 20px 60px;
        min-height: 90vh;
    }

    .hero-content {
        margin-bottom: 3rem;
        max-width: 100%;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    h1 {
        font-size: 2.5rem;
        line-height: 1.1;
    }

    h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .wine-category {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem;
        gap: 2rem;
    }

    .category-image img {
        height: 250px;
        margin-bottom: 1rem;
    }

    .education-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-buttons {
        justify-content: center;
        gap: 1rem;
    }

    .guide-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .wine-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    /* Mobile-optimized sections */
    .wines-section,
    .wine-guide,
    .featured-wines,
    .wine-education {
        padding: 60px 0;
    }

    .section-subtitle {
        font-size: 1.1rem;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    .wine-category,
    .guide-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .hero {
        padding: 120px 15px 40px;
        min-height: 85vh;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
        max-width: 280px;
        padding: 12px 25px;
        font-size: 1rem;
    }

    .navbar {
        padding: 0.8rem 0;
    }

    .nav-container {
        padding: 0 15px;
    }

    .logo h1 {
        font-size: 1.6rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .wine-item {
        margin-bottom: 1.5rem;
    }

    .wine-details {
        padding: 1.5rem;
    }

    .benefit {
        padding: 1.2rem;
    }

    /* Improve touch targets for mobile */
    .nav-menu a {
        padding: 1rem;
        display: block;
        font-size: 1.1rem;
    }

    .explore-btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}

/* Extra small devices (landscape phones) */
@media (max-width: 360px) {
    h1 {
        font-size: 1.6rem;
    }

    .container {
        padding: 0 10px;
    }

    .wine-category,
    .guide-card {
        padding: 1.2rem;
    }

    .btn-primary,
    .btn-secondary {
        max-width: 250px;
        padding: 10px 20px;
    }
}

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

/* Loading animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wine-category,
.guide-card,
.wine-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Dark theme scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--wine-red);
}