/*
Theme Name: Got For You Motors
Theme URI: https://gotforyoumotors.com
Author: Got For You Motors
Author URI: https://gotforyoumotors.com
Description: A clean, professional WordPress theme for Got For You Motors - Hamilton's trusted used car dealership. You want it, we got it!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gotforyou-motors
*/

:root {
    --primary-color: #1a365d;
    --primary-light: #2d4a7c;
    --primary-dark: #0f2341;
    --accent-color: #f7941d;
    --accent-light: #ffab42;
    --accent-dark: #d67d0a;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #e9ecef;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
    --black: #1a1a1a;
    --text-primary: #1a1a1a;
    --text-secondary: #4a5568;
    --text-light: #718096;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
    --shadow-xl: 0 12px 48px rgba(0,0,0,0.2);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-secondary); font-size: 1rem; line-height: 1.6; color: var(--text-primary); background-color: var(--white); overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: color var(--transition-fast); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-primary); font-weight: 700; line-height: 1.2; color: var(--text-primary); }
h1 { font-size: 3rem; } h2 { font-size: 2.5rem; } h3 { font-size: 1.75rem; } h4 { font-size: 1.5rem; } h5 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.section { padding: 5rem 0; }
.section-dark { background-color: var(--primary-color); color: var(--white); }
.section-light { background-color: var(--off-white); }
.text-center { text-align: center; }
.text-accent { color: var(--accent-color); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.875rem 2rem; font-family: var(--font-primary); font-size: 0.95rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; border: 2px solid transparent; border-radius: var(--radius-sm); cursor: pointer; transition: all var(--transition-normal); }
.btn-primary { background-color: var(--accent-color); color: var(--white); border-color: var(--accent-color); }
.btn-primary:hover { background-color: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary { background-color: transparent; color: var(--white); border-color: var(--white); }
.btn-secondary:hover { background-color: var(--white); color: var(--primary-color); transform: translateY(-2px); }
.btn-outline { background-color: transparent; color: var(--primary-color); border-color: var(--primary-color); }
.btn-outline:hover { background-color: var(--primary-color); color: var(--white); transform: translateY(-2px); }
.btn-large { padding: 1.125rem 2.5rem; font-size: 1.1rem; }

.site-header { padding-top:10px; padding-bottom: 10px; position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background-color: var(--white); box-shadow: var(--shadow-sm); transition: all var(--transition-normal); }
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0; line-height: 0; }
.site-logo { line-height: 0; }
.site-logo img, .site-logo .custom-logo { height: 60px; width: auto; display: block; }
.main-navigation ul { display: flex; align-items: center; gap: 2rem; }
.main-navigation a { font-family: var(--font-primary); font-size: 0.9rem; font-weight: 600; color: var(--text-primary); padding: 0.5rem 0; position: relative; line-height: 1.5; }
.main-navigation a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--accent-color); transition: width var(--transition-normal); }
.main-navigation a:hover::after, .main-navigation a.active::after { width: 100%; }
.main-navigation a:hover { color: var(--accent-color); }
.mobile-menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.mobile-menu-toggle span { width: 25px; height: 3px; background-color: var(--primary-color); transition: all var(--transition-normal); }

.hero { position: relative; min-height: 100vh; display: flex; align-items: center; background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%); padding-top: 140px; padding-bottom: 80px; overflow: hidden; }
.hero-container { display: flex; align-items: center; justify-content: space-between; gap: 0; }
.hero-content { position: relative; z-index: 2; max-width: 480px; flex: 0 0 auto; padding-right: 1rem; }
.hero-content h1 { font-size: 3.5rem; color: var(--white); margin-bottom: 1rem; line-height: 1.1; }
.hero-content h1 span { color: var(--accent-color); }
.hero-tagline { font-size: 1.5rem; color: var(--accent-color); font-weight: 600; margin-bottom: 1.5rem; font-family: var(--font-primary); }
.hero-content p { font-size: 1.2rem; color: rgba(255,255,255,0.9); margin-bottom: 2rem; line-height: 1.7; }
.hero-buttons { display: flex; gap: 0.75rem; flex-wrap: nowrap; align-items: center; }
.hero-buttons .btn { white-space: nowrap; padding: 0.875rem 1.5rem; font-size: 0.9rem; }
.hero-logo-section { position: absolute; top: 0; right: 0; bottom: 0; width: 50%; display: flex; align-items: center; justify-content: center; z-index: 2; background-color: #ffffff; }
.hero-logo-section img, .hero-logo-section .custom-logo { max-width: 90%; height: auto; }
.hero-logo-section .custom-logo-link { display: block; max-width: 90%; }
.hero-logo-section .custom-logo-link img { max-width: 100%; height: auto; }
.hero-logo-img { max-width: 90%; height: auto; }
.hero-shape { position: absolute; border-radius: 50%; background: var(--accent-color); opacity: 0.1; }
.hero-shape-1 { width: 400px; height: 400px; top: -100px; right: 20%; z-index: 1; }
.hero-shape-2 { width: 200px; height: 200px; bottom: 20%; left: 10%; }

.featured-vehicles { background-color: var(--off-white); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--text-secondary); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.vehicles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.vehicle-card { background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: all var(--transition-normal); }
.vehicle-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.vehicle-image { position: relative; height: 220px; overflow: hidden; background-color: var(--light-gray); display: flex; align-items: center; justify-content: center; }
.vehicle-image img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: transform var(--transition-normal); }
.vehicle-card:hover .vehicle-image img { transform: scale(1.05); }
.vehicle-badge { position: absolute; top: 1rem; left: 1rem; background-color: var(--accent-color); color: var(--white); padding: 0.35rem 0.75rem; font-size: 0.8rem; font-weight: 600; border-radius: var(--radius-sm); text-transform: uppercase; }
.vehicle-info { padding: 1.5rem; }
.vehicle-info h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.vehicle-meta { display: flex; gap: 1rem; color: var(--text-light); font-size: 0.9rem; margin-bottom: 1rem; }
.vehicle-meta span { display: flex; align-items: center; gap: 0.35rem; }
.vehicle-price { font-size: 1.5rem; font-weight: 700; color: var(--accent-color); font-family: var(--font-primary); }
.view-all-btn { text-align: center; margin-top: 3rem; }
.inventory-grid .vehicle-image img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }

.special-request { background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%); position: relative; overflow: hidden; }
.special-request-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 2; }
.special-request-content h2 { color: var(--white); margin-bottom: 1.5rem; }
.special-request-content p { color: rgba(255,255,255,0.9); font-size: 1.1rem; margin-bottom: 2rem; }
.request-features { margin-bottom: 2rem; }
.request-features li { display: flex; align-items: center; gap: 0.75rem; color: var(--white); margin-bottom: 1rem; font-size: 1.05rem; }
.request-features li svg { width: 24px; height: 24px; color: var(--accent-color); flex-shrink: 0; }
.special-request-form { background: var(--white); padding: 2.5rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); }
.special-request-form h3 { margin-bottom: 1.5rem; text-align: center; }

.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; font-size: 0.95rem; color: var(--text-primary); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.875rem 1rem; border: 2px solid var(--light-gray); border-radius: var(--radius-sm); font-family: var(--font-secondary); font-size: 1rem; transition: border-color var(--transition-fast); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent-color); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit { text-align: center; margin-top: 1.5rem; }
.form-submit .btn { width: 100%; }

.why-choose-us { background-color: var(--white); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.feature-card { text-align: center; padding: 2rem 1.5rem; border-radius: var(--radius-md); transition: all var(--transition-normal); }
.feature-card:hover { background-color: var(--off-white); transform: translateY(-5px); }
.feature-icon { width: 80px; height: 80px; margin: 0 auto 1.5rem; background: linear-gradient(135deg, var(--accent-color), var(--accent-light)); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.feature-icon svg { width: 40px; height: 40px; color: var(--white); }
.feature-card h4 { margin-bottom: 0.75rem; }
.feature-card p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 0; }

.cta-section { background: var(--accent-color); padding: 4rem 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-content h2 { color: var(--white); margin-bottom: 0.5rem; }
.cta-content p { color: rgba(255,255,255,0.9); font-size: 1.1rem; margin-bottom: 0; }
.cta-section .btn { background-color: var(--white); color: var(--accent-color); border-color: var(--white); }
.cta-section .btn:hover { background-color: var(--primary-color); color: var(--white); border-color: var(--primary-color); }

.site-footer { background-color: var(--primary-dark); color: var(--white); padding-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-about .footer-logo { margin-bottom: 1.5rem; }
.footer-about .footer-logo img { height: 60px; width: auto; }
.footer-about p { color: rgba(255,255,255,0.7); line-height: 1.7; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 1rem; }
.footer-social a { width: 40px; height: 40px; background-color: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all var(--transition-fast); }
.footer-social a:hover { background-color: var(--accent-color); transform: translateY(-3px); }
.footer-social svg { width: 20px; height: 20px; color: var(--white); }
.footer-widget h4 { color: var(--white); margin-bottom: 1.5rem; font-size: 1.1rem; }
.footer-widget ul li { margin-bottom: 0.75rem; }
.footer-widget ul li a { color: rgba(255,255,255,0.7); transition: all var(--transition-fast); }
.footer-widget ul li a:hover { color: var(--accent-color); padding-left: 5px; }
.footer-contact li { display: flex; gap: 0.75rem; margin-bottom: 1rem; color: rgba(255,255,255,0.7); }
.footer-contact svg { width: 20px; height: 20px; color: var(--accent-color); flex-shrink: 0; margin-top: 3px; }
.footer-bottom { padding: 1.5rem 0; text-align: center; }
.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 0.9rem; margin-bottom: 0; }

.page-header { background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%); padding: 8rem 0 4rem; text-align: center; margin-top: 80px; }
.page-header h1 { color: var(--white); margin-bottom: 1rem; }
.breadcrumbs { display: flex; justify-content: center; gap: 0.5rem; color: rgba(255,255,255,0.7); }
.breadcrumbs a { color: var(--accent-color); }
.breadcrumbs a:hover { text-decoration: underline; }

.inventory-section { padding: 4rem 0; }
.inventory-filters { background: var(--off-white); padding: 1.5rem; border-radius: var(--radius-md); margin-bottom: 2rem; }
.filters-form { display: flex; gap: 1rem; flex-wrap: wrap; align-items: flex-end; }
.filters-form .form-group { flex: 1; min-width: 150px; margin-bottom: 0; }
.filters-form .btn { height: 50px; }
.inventory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.vehicle-details-link { display: block; margin-top: 1rem; color: var(--primary-color); font-weight: 600; font-size: 0.95rem; }
.vehicle-details-link:hover { color: var(--accent-color); }

.about-section { padding: 4rem 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-image img { width: 100%; height: auto; }
.about-content h2 { margin-bottom: 1.5rem; }
.about-content p { color: var(--text-secondary); margin-bottom: 1.5rem; font-size: 1.05rem; line-height: 1.8; }
.about-values { margin-top: 2rem; }
.about-values h3 { margin-bottom: 1.5rem; }
.values-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.value-item { display: flex; align-items: center; gap: 0.75rem; }
.value-item svg { width: 24px; height: 24px; color: var(--accent-color); }

.contact-section { padding: 4rem 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; }
.contact-info h2 { margin-bottom: 1.5rem; }
.contact-info > p { color: var(--text-secondary); margin-bottom: 2rem; }
.contact-details { margin-bottom: 2rem; }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.contact-item-icon { width: 50px; height: 50px; background: linear-gradient(135deg, var(--accent-color), var(--accent-light)); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item-icon svg { width: 24px; height: 24px; color: var(--white); }
.contact-item-content h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.contact-item-content p { color: var(--text-secondary); margin-bottom: 0; }
.contact-form-wrapper { background: var(--off-white); padding: 2.5rem; border-radius: var(--radius-lg); }
.contact-form-wrapper h3 { margin-bottom: 1.5rem; }
.map-section { padding: 0 0 4rem; }
.map-container { height: 400px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.map-container iframe { width: 100%; height: 100%; border: 0; }

.requests-section { padding: 4rem 0; }
.requests-intro { text-align: center; max-width: 700px; margin: 0 auto 3rem; }
.requests-intro h2 { margin-bottom: 1rem; }
.requests-intro p { color: var(--text-secondary); font-size: 1.1rem; }
.requests-form-wrapper { max-width: 800px; margin: 0 auto; background: var(--off-white); padding: 3rem; border-radius: var(--radius-lg); }
.requests-form-wrapper h3 { margin-bottom: 2rem; text-align: center; }
.form-section-title { font-size: 1.1rem; color: var(--primary-color); margin: 2rem 0 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--accent-color); }
.form-section-title:first-of-type { margin-top: 0; }

.form-success { background-color: #d4edda; color: #155724; padding: 1rem 1.5rem; border-radius: var(--radius-sm); margin-bottom: 1.5rem; display: none; }
.form-success.show { display: block; }

@media (max-width: 1024px) {
    .hero-content h1 { font-size: 2.75rem; }
    .hero-image { width: 50%; }
    .vehicles-grid, .inventory-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .special-request-inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.25rem; } h2 { font-size: 2rem; }
    .header-inner { padding: 0.5rem 0; }
    .main-navigation { position: fixed; top: 80px; left: 0; right: 0; background: var(--white); padding: 1rem; box-shadow: var(--shadow-md); transform: translateY(-150%); opacity: 0; transition: all var(--transition-normal); }
    .main-navigation.active { transform: translateY(0); opacity: 1; }
    .main-navigation ul { flex-direction: column; gap: 0; }
    .main-navigation li { width: 100%; }
    .main-navigation a { display: block; padding: 1rem; border-bottom: 1px solid var(--light-gray); }
    .mobile-menu-toggle { display: flex; }
    .hero { padding-top: 100px; min-height: auto; padding-bottom: 3rem; }
    .hero-content h1 { font-size: 2.25rem; }
    .hero-content { max-width: 100%; }
    .hero-logo-section { display: none; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }
    .vehicles-grid, .inventory-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .cta-inner { flex-direction: column; text-align: center; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-social { justify-content: center; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .values-list { grid-template-columns: 1fr; }
    .filters-form { flex-direction: column; }
    .filters-form .form-group { width: 100%; }
    .site-logo img, .site-logo .custom-logo { height: 60px; }
}

@media (max-width: 480px) {
    .container { padding: 0 0.75rem; }
    .section { padding: 3rem 0; }
    .btn { padding: 0.75rem 1.5rem; font-size: 0.9rem; }
    .vehicle-info { padding: 1rem; }
    .special-request-form, .contact-form-wrapper, .requests-form-wrapper { padding: 1.5rem; }
}

/* Vehicle Card Links */
.vehicle-card-link { display: block; text-decoration: none; color: inherit; }
.vehicle-card-link:hover .vehicle-card { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.vehicle-card-link:hover .vehicle-image img { transform: scale(1.05); }

/* No Image Placeholder */
.no-image-placeholder { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--light-gray); color: var(--medium-gray); }
.no-image-placeholder svg { margin-bottom: 0.5rem; }
.no-image-placeholder span { font-size: 0.9rem; }

/* Custom Logo in Hero */
.hero-logo-section .custom-logo-link { display: block; width: 100%; }
.hero-logo-section .custom-logo-link img { max-width: none; width: 100%; height: auto; }


.scrolled{
    
/*     background: transparent; */
    
}

@media(min-width:769px){
    .inventory-grid .vehicle-image img{
            width: 300px;
    height: 300px;
    object-fit: cover;
    }
    
}

.home .hero .hero-shape-1{
	display:none;
}
