/* Vintage Restoration Co. - Main Styles */

/* Color Palette Variables */
:root {
    /* Primary Colors */
    --primary-burgundy: #881e47;
    --primary-cream: #fff4c4;
    --primary-forest: #436345;
    --primary-gold: #dfa142;
    --primary-charcoal: #405462;
    
    /* Light Shades */
    --light-burgundy: #e23b81;
    --light-cream: #FAFAF7;
    --light-forest: #57695d;
    --light-gold: #ddba66;
    --light-charcoal: #a6a9ad;
    
    /* Dark Shades */
    --dark-burgundy: #5c011b;
    --dark-cream: #dbdbda;
    --dark-forest: #26382b;
    --dark-gold: #c0a132;
    --dark-charcoal: #212122;
}

/* General Styles */
body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: var(--primary-charcoal);
    background-color: var(--primary-cream);
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Typography - Conservative Sizes */
h1 {
    font-size: 2.65rem;
    color: var(--primary-burgundy);
    font-weight: bold;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    color: var(--primary-forest);
    font-weight: 600;
    margin-bottom: 0.94rem;
}

h3 {
    font-size: 1.52rem;
    color: var(--primary-gold);
    font-weight: 500;
    margin-bottom: 0.61rem;
}

h4, h5 {
    font-size: 1.29rem;
    color: var(--primary-charcoal);
    font-weight: 500;
}

p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* Header Styles */
.navbar {
    background-color: var(--light-cream) !important;
    box-shadow: 0 3px 7px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.62rem !important;
    font-weight: bold;
    color: var(--primary-burgundy) !important;
}

.navbar-nav .nav-link {
    color: var(--primary-charcoal) !important;
    font-weight: 500;
    transition: color 0.53s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-burgundy) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--light-cream) 0%, var(--primary-cream) 100%);
    padding-top: 100px;
    position: relative;
}

.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 100 100"><circle cx="20" cy="20" r="2" fill="%23D4AF37" opacity="0.1"/><circle cx="80" cy="40" r="1.5" fill="%238B1538" opacity="0.1"/><circle cx="40" cy="80" r="1" fill="%232D4A34" opacity="0.1"/></svg>');
    pointer-events: none;
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-burgundy);
    border-color: var(--primary-burgundy);
    color: white;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    transition: all 1.15s ease;
}

.btn-primary:hover {
    background-color: var(--dark-burgundy);
    border-color: var(--dark-burgundy);
    transform: translateY(-1px);
}

.btn-outline-primary {
    color: var(--primary-burgundy);
    border-color: var(--primary-burgundy);
}

.btn-outline-primary:hover {
    background-color: var(--primary-burgundy);
    border-color: var(--primary-burgundy);
}

/* Card Styles */
.card {
    border: 1px solid var(--light-cream);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 1.23s ease, box-shadow 0.92s ease;
    background-color: white;
}

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

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Service Cards */
.card-body h5 {
    color: var(--primary-forest);
    font-weight: 600;
}

.card-body h6 {
    color: var(--primary-gold);
    font-weight: bold;
    font-size: 1.16rem;
}

/* Process Number Styling */
.process-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-gold);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.58rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

/* Team Images */
.team img,
img.rounded-circle {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

/* Form Styles */
.form-control {
    border: 2px solid var(--light-cream);
    border-radius: 5px;
    padding: 0.75rem;
    transition: border-color 1.17s ease;
}

.form-control:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 0.2rem rgba(199, 149, 61, 0.25);
}

.form-label {
    color: var(--primary-charcoal);
    font-weight: 500;
    margin-bottom: 0.73rem;
}

/* Contact Info */
.contact-info {
    background-color: var(--light-cream);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-gold);
}

.contact-info h4 {
    color: var(--primary-burgundy);
    margin-bottom: 1.71rem;
}

.contact-info p {
    margin-bottom: 0.99rem;
    color: var(--primary-charcoal);
}

.contact-info i {
    color: var(--primary-gold);
}

/* Footer Styles - High Contrast Colors Only */
footer {
    background-color: var(--dark-charcoal) !important;
    color: var(--light-cream) !important;
}

footer h5 {
    color: var(--primary-gold) !important;
    font-weight: 600;
}

footer a {
    color: var(--light-cream) !important;
    text-decoration: none;
    transition: color 1.24s ease;
}

footer a:hover {
    color: var(--primary-gold) !important;
}

footer hr {
    border-color: var(--primary-charcoal);
}

/* Icon Styling */
.fas, .fab {
    color: var(--primary-gold);
    margin-right: 0.5rem;
}

/* Section Spacing */
section {
    padding: 4rem 0;
}

.bg-light {
    background-color: var(--light-cream) !important;
}

/* Breadcrumb */
.breadcrumb-section {
    background-color: var(--primary-cream);
    border-bottom: 1px solid var(--light-cream);
    padding-top: 90px;
}

.breadcrumb-icon {
    width: 24px;
    height: 24px;
    opacity: 0.7;
}

/* Gallery Styles */
#gallery img {
    border-radius: 10px;
    transition: transform 1.29s ease;
    cursor: pointer;
}

#gallery img:hover {
    transform: scale(1.05);
}

/* Space Page */
#space {
    min-height: 80vh;
    background-color: var(--primary-cream);
    margin-top: 80px;
}

/* FAQ Cards */
#faq .card-body h5 {
    color: var(--primary-burgundy);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Testimonial Cards */
#reviews .card {
    border-left: 4px solid var(--primary-gold);
}

#reviews .blockquote-footer {
    color: var(--primary-forest);
    font-style: italic;
}

/* Price Plan Special Card */
.border-primary {
    border-color: var(--primary-burgundy) !important;
    border-width: 3px !important;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Animation Classes for Sal.js */
[data-sal] {
    transition-duration: 1.00s;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 120px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.84rem;
    }
    
    .process-number {
        width: 40px;
        height: 40px;
        font-size: 1.36rem;
    }
    
    .team img,
    img.rounded-circle {
        width: 100px;
        height: 100px;
    }
}

/* Utilities */
.text-vintage-burgundy {
    color: var(--primary-burgundy) !important;
}

.text-vintage-gold {
    color: var(--primary-gold) !important;
}

.text-vintage-forest {
    color: var(--primary-forest) !important;
}

.bg-vintage-cream {
    background-color: var(--primary-cream) !important;
}

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

/* Focus Styles for Accessibility */
*:focus {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
} 

.hero-section h1 {
    padding-top: 175px;
}


/* Team Social Links - Square Style */
.team-social-links {
    margin-top: 18px;
    padding: 12px 0;
}

.social-icons-grid {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    position: relative;
}

.social-link:hover {
    transform: translateY(-2px) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    color: white;
}

.facebook-link {
    background: #1877f2;
    border: 2px solid #1877f2;
}

.facebook-link:hover {
    background: #166fe5;
    border-color: #166fe5;
}

.linkedin-link {
    background: #0a66c2;
    border: 2px solid #0a66c2;
}

.linkedin-link:hover {
    background: #0959aa;
    border-color: #0959aa;
}

.instagram-link {
    background: #e4405f;
    border: 2px solid #e4405f;
}

.instagram-link:hover {
    background: #d62976;
    border-color: #d62976;
}

.x-link {
    background: #000000;
    border: 2px solid #000000;
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: bold;
    font-size: 18px;
}

.x-link:hover {
    background: #333333;
    border-color: #333333;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 8px;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}
