/* Harper Antiques and Decor - Custom Styles */

/* ===== ROOT VARIABLES ===== */
:root {
    --rustic-brown: #8B4513;
    --dark-brown: #654321;
    --cream: #F5F5DC;
    --warm-beige: #F4E4BC;
    --deep-red: #8B1538;
    --forest-green: #355E3B;
    --warm-white: #FEFEFE;
    --text-dark: #2C1810;
    --text-light: #6B4E3D;
}

/* ===== GLOBAL STYLES ===== */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Crimson Text', serif;
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 16px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--text-dark);
}

.hero-title {
  color: white;
}


.hero-subtitle {
    font-size: 1.5rem;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--rustic-brown);
}

.section-subtitle {
    font-size: 1.75rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

/* ===== NAVIGATION ===== */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.bg-rustic {
    background-color: var(--rustic-brown) !important;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--cream) !important;
}

/* ===== HERO SECTION ===== */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    background: rgba(0,0,0,0.4);
    height: 100%;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}

/* ===== PAGE HEADER ===== */
.page-header {
    padding: 120px 0 60px;
    margin-top: 76px;
}

/* ===== BUTTONS ===== */
.btn-rustic {
    background-color: var(--rustic-brown);
    border-color: var(--rustic-brown);
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-rustic:hover {
    background-color: var(--dark-brown);
    border-color: var(--dark-brown);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

.btn-outline-rustic {
    color: var(--rustic-brown);
    border-color: var(--rustic-brown);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-outline-rustic:hover {
    background-color: var(--rustic-brown);
    border-color: var(--rustic-brown);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

/* ===== BACKGROUND COLORS ===== */
.bg-cream {
    background-color: var(--cream) !important;
}

.text-rustic {
    color: var(--rustic-brown) !important;
}

/* ===== COLLECTION CARDS ===== */
.collection-card {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.collection-card:hover {
    transform: translateY(-5px);
}

.collection-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.collection-card:hover img {
    transform: scale(1.05);
}

.collection-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
}

.collection-overlay h4 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* ===== CATEGORY CARDS ===== */
.category-card {
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

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

.category-image {
    height: 250px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-content {
    padding: 1.5rem;
    text-align: center;
}

.category-content h4 {
    color: var(--rustic-brown);
    margin-bottom: 1rem;
}

/* ===== GALLERY STYLES ===== */
.filter-controls .btn {
    margin: 0.25rem;
    border-radius: 2rem;
    padding: 0.5rem 1.5rem;
}

.filter-controls .btn.active {
    background-color: var(--rustic-brown);
    border-color: var(--rustic-brown);
    color: white;
}

.gallery-item {
    transition: all 0.3s ease;
}

.gallery-item.hidden {
    display: none;
}

.gallery-card {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.gallery-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.gallery-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-card:hover img {
    transform: scale(1.02);
}

.gallery-info {
    padding: 1rem;
}

.gallery-info h5 {
    color: var(--rustic-brown);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.gallery-info p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ===== CONTACT STYLES ===== */
.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid var(--cream);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.contact-content h4 {
    color: var(--rustic-brown);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.contact-content p {
    margin-bottom: 0;
    color: var(--text-light);
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.form-control, .form-select {
    border: 2px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--rustic-brown);
    box-shadow: 0 0 0 0.2rem rgba(139, 69, 19, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* ===== SERVICE CARDS ===== */
.service-card {
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    height: 100%;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-card h4 {
    color: var(--rustic-brown);
    margin-bottom: 1rem;
}

/* ===== DIRECTION INFO ===== */
.direction-info {
    padding: 1.5rem;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    height: 100%;
    transition: all 0.3s ease;
}

.direction-info:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.direction-info h4 {
    color: var(--rustic-brown);
    margin-bottom: 1rem;
}

/* ===== SHOWROOM IMAGE ===== */
.showroom-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.showroom-info {
    border: 2px solid var(--rustic-brown);
}

.showroom-info h4 {
    color: var(--rustic-brown);
    margin-bottom: 1rem;
}

.showroom-info .fas.fa-check {
    color: var(--forest-green);
}

/* ===== FOOTER ===== */
footer {
    margin-top: 2rem;
}

footer h5 {
    color: var(--cream);
}

footer a:hover {
    color: var(--cream) !important;
    transform: scale(1.1);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .gallery-card img {
        height: 200px;
    }
    
    .category-image {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .btn-rustic, .btn-outline-rustic {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .contact-form, .contact-info, .service-card {
        padding: 1.5rem;
    }
    
    .collection-overlay {
        padding: 1.5rem 1rem 1rem;
    }
}

/* ===== ANIMATION UTILITIES ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== ACCESSIBILITY ===== */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: 2px solid var(--rustic-brown);
    outline-offset: 2px;
}

/* Skip to main content link for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--rustic-brown);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar,
    .btn,
    footer {
        display: none;
    }
    
    .hero-section {
        height: auto;
        background: none;
    }
    
    .hero-overlay {
        background: none;
        color: black;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .section-title {
        font-size: 18pt;
    }
    
    .page-title {
        font-size: 20pt;
    }
}
