/* Wine Making Site - Custom Design */
:root {
    --wine-red: #722F37;
    --wine-dark: #4A1C23;
    --wine-gold: #C9A227;
    --cream: #F5F1E8;
    --dark: #2C2C2C;
    --light: #FFFFFF;
    --grape: #6B3A5B;
}

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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background: var(--cream);
    color: var(--dark);
    line-height: 1.7;
}

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

/* Header */
header {
    background: linear-gradient(135deg, var(--wine-red) 0%, var(--wine-dark) 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(114, 47, 55, 0.3);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--cream);
    text-decoration: none;
    font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
}

.logo span {
    color: var(--wine-gold);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    flex-wrap: wrap;
}

nav a {
    color: var(--cream);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

nav a:hover {
    color: var(--wine-gold);
    border-bottom-color: var(--wine-gold);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--wine-dark) 0%, var(--grape) 100%);
    color: var(--cream);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '🍇';
    position: absolute;
    font-size: 15rem;
    opacity: 0.1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
    position: relative;
}

.hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.btn {
    display: inline-block;
    background: var(--wine-gold);
    color: var(--wine-dark);
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn:hover {
    background: #D4B42E;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(201, 162, 39, 0.4);
}

/* Categories */
.categories {
    padding: 3rem 0;
}

.categories h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--wine-red);
    margin-bottom: 2rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: var(--light);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border-top: 4px solid var(--wine-red);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.category-card h3 {
    color: var(--wine-red);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.category-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-card a {
    color: var(--wine-gold);
    text-decoration: none;
    font-weight: bold;
}

/* Articles Grid */
.articles-section {
    background: var(--light);
    padding: 3rem 0;
}

.articles-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--wine-red);
    margin-bottom: 2rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.article-card {
    background: var(--cream);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.article-content {
    padding: 1.5rem;
}

.article-card h3 {
    color: var(--wine-dark);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    line-height: 1.4;
}

.article-card h3 a {
    color: inherit;
    text-decoration: none;
}

.article-card h3 a:hover {
    color: var(--wine-red);
}

.article-card p {
    color: #666;
    font-size: 0.95rem;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #888;
}

.tag {
    background: var(--wine-red);
    color: var(--light);
    padding: 0.2rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* Page Content */
.page-content {
    padding: 3rem 0;
}

.page-content h1 {
    color: var(--wine-red);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.page-content h2 {
    color: var(--wine-dark);
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
}

.page-content h3 {
    color: var(--wine-red);
    font-size: 1.4rem;
    margin: 1.5rem 0 0.8rem;
}

.page-content p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.page-content ul, .page-content ol {
    margin: 1rem 0 1rem 2rem;
}

.page-content li {
    margin-bottom: 0.5rem;
}

.page-content a {
    color: var(--wine-red);
}

.page-content a:hover {
    color: var(--wine-gold);
}

/* Article Page */
.article-header {
    background: linear-gradient(135deg, var(--wine-red) 0%, var(--wine-dark) 100%);
    color: var(--cream);
    padding: 3rem 0;
    text-align: center;
}

.article-header h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.article-header .meta {
    opacity: 0.9;
}

.article-body {
    background: var(--light);
    padding: 3rem 0;
}

.article-body .container {
    max-width: 800px;
}

/* Contact Form */
.contact-form {
    background: var(--light);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--wine-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--wine-red);
}

/* Footer */
footer {
    background: var(--wine-dark);
    color: var(--cream);
    padding: 2rem 0;
    text-align: center;
}

footer a {
    color: var(--wine-gold);
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    .page-content h1 {
        font-size: 2rem;
    }
    
    .header-inner {
        flex-direction: column;
        gap: 1rem;
    }
}
