/* Vintage Chicago Theme Extensions */

/* Hero Section */
.hero-section {
    background: #f8f9fa;
    color: #333;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::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 1440 320"><path fill="%23005a87" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,133.3C960,128,1056,96,1152,96C1248,96,1344,128,1392,144L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: none;
}

.hero-subtitle {
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: #005a87;
    margin-bottom: 15px;
    font-weight: 300;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: #005a87;
    color: #fff;
    border-color: #005a87;
}

.btn-primary:hover {
    background: #003e5f;
    border-color: #003e5f;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 90, 135, 0.35);
}

/* Featured Products Section */
.featured-products {
    padding: 80px 0;
    background: #ffffff;
}

.featured-products h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 10px;
    color: #222;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    font-size: 1.2rem;
}

/* WooCommerce Product Grid Enhancements */
.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important; /* Fixed to 3 columns to match main style */
    gap: 2rem !important; /* Consistent gap */
    margin: 0 !important;
    justify-content: start !important; /* Ensure products start from the left */
}

.product {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.product:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.woocommerce-loop-product__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.woocommerce-loop-product__title {
    padding: 20px;
    font-size: 1.2rem;
    margin: 0;
    color: #333;
}

.price {
    padding: 0 20px 20px;
    color: #005a87;
    font-weight: 600;
    font-size: 1.3rem;
}

.add_to_cart_button {
    margin: 0 20px 20px;
    background: #333;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
    display: inline-block;
}

.add_to_cart_button:hover {
    background: #005a87;
}

/* Responsive grid adjustments */
@media (max-width: 1024px) {
    .products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .products {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}

/* Info Cards Section */
.info-cards {
    padding: 80px 0;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.info-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.info-card h3 {
    color: #222;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.info-card p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.7;
}

.card-link {
    color: #005a87;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
}

.card-link:hover {
    gap: 12px;
}

/* SEO Content Section */
.seo-content {
    padding: 80px 0;
    background: #fff;
}

.seo-content h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: #222;
}

.seo-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* Page Content */
.page-content {
    padding: 80px 0;
    min-height: 500px;
}

.page-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 25px;
    border-bottom: 2px solid #005a87;
}

.page-title {
    font-size: 2.8rem;
    color: #222;
}

.entry-content {
    max-width: 800px;
    margin: 0 auto;
}

.entry-content h2 {
    color: #222;
    margin: 40px 0 25px;
    font-size: 2rem;
}

.entry-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 25px;
}

.history-timeline {
    list-style: none;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    margin: 25px 0;
}

.history-timeline li {
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
    list-style-type: none;
}

.history-timeline li:last-child {
    border-bottom: none;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #005a87;
}

/* Contact Info */
.contact-info,
.policies-links {
    margin-top: 50px;
    padding: 0;
    background: none;
    border-radius: 0;
}

.policies-links ul {
    list-style-type: none;
    padding: 0;
}

.policies-links ul.no-bullets {
    list-style-type: none;
    padding: 0;
}

.email-obfuscate {
    font-family: monospace;
}

/* CTA Section */
.cta-section {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin-top: 50px;
}

/* WooCommerce Overrides */
.woocommerce-breadcrumb {
    margin-bottom: 40px;
    margin-top: 2rem; /* Added top margin to avoid header collision */
    padding-top: 3rem; /* Added top padding for additional spacing */
    color: #666;
}

.woocommerce-breadcrumb a {
    color: #005a87;
}

.woocommerce-notices-wrapper {
    margin-bottom: 40px;
}

.woocommerce-message,
.woocommerce-info {
    background: #e6f7ff;
    border-left: 5px solid #005a87;
    padding: 20px;
    margin-bottom: 25px;
}

/* Accessibility */
.screen-reader-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    padding: 0 !important;
    border: 0 !important;
    height: 1px !important;
    width: 1px !important;
    overflow: hidden;
}

.skip-link:focus {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 999999;
    padding: 12px 24px;
    background: #005a87;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
}

/* Focus states */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: none;
    outline-offset: 0;
    box-shadow: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 20px;
    }
    
    .cards-grid,
    .products {
        grid-template-columns: 1fr;
    }
    
    .entry-content {
        padding: 0 20px;
    }
}