/* ShippingWine.com - Main Stylesheet */

:root {
    --primary-color: #722F37;
    --secondary-color: #8B0000;
    --accent-color: #D4AF37;
    --text-color: #333;
    --light-bg: #FDF5E6;
    --white: #ffffff;
    --dark-text: #1a1a1a;
}

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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--white);
}

/* Header & Navigation */
header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

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

.logo {
    font-size: 1.6em;
    font-weight: bold;
    color: var(--white);
    text-decoration: none;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    flex-wrap: wrap;
}

.nav-menu li a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.95em;
    transition: color 0.3s;
    padding: 5px 0;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--accent-color);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5em;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(114, 47, 55, 0.9), rgba(139, 0, 0, 0.85));
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
}

.hero-small {
    padding: 50px 20px;
}

.hero h1 {
    font-size: 2.6em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 15px 40px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 5px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.cta-button-secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    margin-left: 15px;
}

.cta-button-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Breadcrumb */
.breadcrumb {
    background: var(--light-bg);
    padding: 12px 20px;
    font-size: 0.9em;
}

.breadcrumb ol {
    max-width: 1200px;
    margin: 0 auto;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.breadcrumb li::after {
    content: '›';
    margin: 0 10px;
    color: var(--primary-color);
}

.breadcrumb li:last-child::after {
    content: '';
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}

section {
    margin-bottom: 50px;
}

h2 {
    color: var(--primary-color);
    font-size: 2em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--accent-color);
}

h3 {
    color: var(--secondary-color);
    font-size: 1.4em;
    margin: 25px 0 15px;
}

h4 {
    color: var(--primary-color);
    font-size: 1.15em;
    margin: 20px 0 10px;
}

p {
    margin-bottom: 18px;
    font-size: 1.05em;
}

/* Service Cards Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.service-card {
    background: var(--light-bg);
    padding: 28px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-card h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 12px;
}

.service-card p {
    margin-bottom: 0;
    font-size: 1em;
}

.service-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.service-card a:hover {
    text-decoration: underline;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, var(--light-bg), #fff);
    border-left: 5px solid var(--accent-color);
    padding: 25px;
    margin: 25px 0;
    border-radius: 0 10px 10px 0;
}

.highlight-box h3 {
    margin-top: 0;
}

.highlight-box ul {
    margin-bottom: 0;
    padding-left: 20px;
}

.highlight-box li {
    margin-bottom: 8px;
}

/* Steps List */
.steps-list {
    counter-reset: steps;
    list-style: none;
    padding-left: 0;
}

.steps-list li {
    counter-increment: steps;
    padding: 18px 0 18px 65px;
    position: relative;
    border-bottom: 1px solid #eee;
}

.steps-list li:last-child {
    border-bottom: none;
}

.steps-list li::before {
    content: counter(steps);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: var(--white);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1em;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    border-radius: 10px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.comparison-table th {
    background: var(--primary-color);
    color: var(--white);
    font-weight: bold;
}

.comparison-table tr:nth-child(even) {
    background: var(--light-bg);
}

.comparison-table tr:hover {
    background: #f0e6d2;
}

/* Tips Grid */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.tip-card {
    background: var(--white);
    border: 2px solid var(--accent-color);
    padding: 22px;
    border-radius: 10px;
    text-align: center;
}

.tip-card h4 {
    color: var(--primary-color);
    margin-top: 0;
}

.tip-card p {
    margin-bottom: 0;
    font-size: 0.95em;
}

/* FAQ Section */
.faq-section {
    background: var(--light-bg);
    padding: 35px;
    border-radius: 15px;
}

.faq-item {
    background: var(--white);
    margin-bottom: 12px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 18px 20px;
    cursor: pointer;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--light-bg);
}

.faq-question::after {
    content: '+';
    font-size: 1.4em;
    color: var(--accent-color);
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px 18px;
    color: var(--text-color);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Internal Links */
.internal-links {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    margin-top: 35px;
}

.internal-links h3 {
    margin-top: 0;
}

.internal-links ul {
    column-count: 2;
    column-gap: 40px;
    list-style: none;
    padding: 0;
}

.internal-links li {
    padding: 8px 0;
    break-inside: avoid;
}

.internal-links li::before {
    content: '→';
    color: var(--accent-color);
    margin-right: 8px;
}

.internal-links a {
    color: var(--primary-color);
    text-decoration: none;
}

.internal-links a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.sidebar {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 10px;
    position: sticky;
    top: 80px;
}

.sidebar h3 {
    margin-top: 0;
    font-size: 1.2em;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar li {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.sidebar li:last-child {
    border-bottom: none;
}

.sidebar a {
    color: var(--primary-color);
    text-decoration: none;
}

.sidebar a:hover {
    color: var(--secondary-color);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 50px;
    border-radius: 15px;
    text-align: center;
    margin: 40px 0;
}

.cta-section h2 {
    color: var(--white);
    border-bottom: none;
    margin-bottom: 15px;
}

.cta-section p {
    opacity: 0.95;
    margin-bottom: 25px;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 50px 20px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 35px;
}

.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: 18px;
    font-size: 1.1em;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
    font-size: 0.95em;
}

.footer-section a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    max-width: 1200px;
    margin: 35px auto 0;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    font-size: 0.9em;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 992px) {
    .two-column {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.9em;
    }

    .hero p {
        font-size: 1.05em;
    }

    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        margin-top: 15px;
        background: rgba(0,0,0,0.1);
        border-radius: 8px;
        padding: 10px 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li a {
        display: block;
        padding: 12px 20px;
    }

    .menu-toggle {
        display: block;
    }

    h2 {
        font-size: 1.6em;
    }

    .internal-links ul {
        column-count: 1;
    }

    .cta-button-secondary {
        margin-left: 0;
        margin-top: 15px;
        display: block;
    }

    .comparison-table {
        font-size: 0.9em;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px 8px;
    }

    .faq-section {
        padding: 20px;
    }
}

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

    .hero h1 {
        font-size: 1.6em;
    }

    main {
        padding: 30px 15px;
    }

    .service-card {
        padding: 20px;
    }

    .cta-section {
        padding: 30px 20px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-0 {
    margin-top: 0;
}

.mb-0 {
    margin-bottom: 0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
