/* 
    Weidner Driving School - Modern Vibrant Theme
    Colors: Charcoal (#1A1A1A), Coral (#E86450), Off-White (#F4F6F8)
*/

:root {
    --color-charcoal: #1A1A1A;
    --color-dark-gray: #2D2D2D;
    --color-coral: #E86450;
    --color-coral-dark: #C94D3B;
    --color-off-white: #F4F6F8;
    --color-white: #FFFFFF;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-charcoal);
    background-color: var(--color-off-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--color-coral);
    color: var(--color-white);
    box-shadow: 0 10px 20px rgba(232, 100, 80, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-coral-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(232, 100, 80, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-charcoal);
    border: 2px solid var(--color-charcoal);
}

.btn-secondary:hover {
    background-color: var(--color-charcoal);
    color: var(--color-white);
}

.full-width {
    width: 100%;
}

/* Navbar */
.navbar {
    background-color: var(--color-charcoal);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--color-coral);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.logo-icon {
    background-color: var(--color-coral);
    color: var(--color-white);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: var(--color-white);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--color-coral);
}

.btn-nav {
    background-color: var(--color-white);
    color: var(--color-charcoal);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
}

.btn-nav:hover {
    background-color: var(--color-coral);
    color: var(--color-white);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--color-white);
    border-radius: 2px;
    transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-charcoal);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
}

.mobile-menu-overlay.active {
    transform: translateY(0);
}

.mobile-link {
    color: var(--color-white);
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
}

.mobile-link.cta-link {
    color: var(--color-coral);
}

/* Hero Section */
.hero {
    background-color: var(--color-off-white);
    padding: 60px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    padding-right: 20px;
}

.tag {
    display: inline-block;
    background-color: var(--color-coral);
    color: var(--color-white);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 4rem;
    color: var(--color-charcoal);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--color-dark-gray);
    margin-bottom: 35px;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-coral);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-dark-gray);
    font-weight: 500;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 600px;
}

.visual-card {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.main-img {
    width: 85%;
    height: 80%;
    top: 10%;
    right: 0;
    z-index: 1;
}

.main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.secondary-img {
    width: 50%;
    height: 40%;
    bottom: 0;
    left: 0;
    z-index: 2;
    border: 8px solid var(--color-off-white);
}

.secondary-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-badge {
    position: absolute;
    bottom: 40px;
    left: -30px;
    background-color: var(--color-white);
    padding: 15px 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 3;
}

.badge-icon {
    font-size: 1.5rem;
    color: var(--color-coral);
}

.geometric-shape {
    position: absolute;
    z-index: 0;
}

.shape-1 {
    width: 100px;
    height: 100px;
    background-color: var(--color-coral);
    border-radius: 50%;
    top: -20px;
    left: 20px;
    opacity: 0.2;
}

.shape-2 {
    width: 60px;
    height: 60px;
    background-color: var(--color-charcoal);
    transform: rotate(45deg);
    bottom: 100px;
    right: 40px;
    opacity: 0.1;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

/* Sections General */
.section {
    padding: 100px 0;
}

.bg-dark {
    background-color: var(--color-charcoal);
    color: var(--color-white);
}

.bg-charcoal {
    background-color: var(--color-dark-gray);
    color: var(--color-white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    color: var(--color-coral);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.85rem;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.section-desc {
    font-size: 1.1rem;
    color: #aaa;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 20px;
    width: 100%;
    height: 400px;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.about-accent {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 20px;
    left: 20px;
    background-color: var(--color-coral);
    border-radius: 20px;
    z-index: 0;
}

.about-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--color-white);
}

.about-content p {
    color: #ccc;
    margin-bottom: 30px;
}

.check-list {
    display: grid;
    gap: 15px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    color: var(--color-white);
}

.check-icon {
    width: 24px;
    height: 24px;
    background-color: var(--color-coral);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--color-charcoal);
    padding: 40px 30px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-coral);
}

.card-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--color-coral);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(232, 100, 80, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-coral);
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--color-white);
}

.service-card p {
    color: #aaa;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.link-arrow {
    color: var(--color-coral);
    font-weight: 700;
    font-family: var(--font-heading);
    display: inline-flex;
    align-items: center;
}

.link-arrow:hover {
    gap: 10px;
    transition: gap 0.3s;
}

/* CTA Section */
.cta-section {
    background-color: var(--color-off-white);
    padding: 80px 0;
}

.cta-box {
    background-color: var(--color-charcoal);
    border-radius: 30px;
    padding: 60px;
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    overflow: hidden;
}

.cta-content {
    flex: 1;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--color-white);
    margin-bottom: 20px;
}

.cta-content p {
    color: #ccc;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.cta-contact-info {
    background-color: rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.8rem;
    color: var(--color-coral);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-value {
    font-size: 1.2rem;
    color: var(--color-white);
    font-weight: 600;
}

.info-value:hover {
    color: var(--color-coral);
}

.cta-visual {
    position: relative;
    width: 350px;
    height: 400px;
    flex-shrink: 0;
}

.cta-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    position: relative;
    z-index: 1;
}

.cta-shape {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--color-coral);
    top: 20px;
    left: 20px;
    border-radius: 20px;
    z-index: 0;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background-color: var(--color-dark-gray);
    padding: 60px;
    border-radius: 30px;
}

.contact-info h2 {
    font-size: 2.5rem;
    color: var(--color-white);
    margin-bottom: 20px;
}

.contact-info p {
    color: #aaa;
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--color-white);
    font-weight: 500;
}

.detail-row a {
    color: var(--color-white);
}

.detail-row a:hover {
    color: var(--color-coral);
}

.contact-form-container {
    background-color: var(--color-charcoal);
    padding: 40px;
    border-radius: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--color-white);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #444;
    background-color: #2D2D2D;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-coral);
}

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    width: 60px;
    height: 60px;
    background-color: var(--color-coral);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.form-success h3 {
    color: var(--color-white);
    margin-bottom: 10px;
}

.form-success p {
    color: #aaa;
}

.hidden {
    display: none;
}

/* Footer */
.footer {
    background-color: #111;
    color: var(--color-white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: #888;
    margin-top: 20px;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--color-white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #888;
}

.footer-links a:hover {
    color: var(--color-coral);
}

.footer-contact p {
    color: #888;
    margin-bottom: 5px;
}

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 20px;
    text-align: center;
    color: #555;
    font-size: 0.9rem;
}

/* Animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Responsive */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
    }
    
    .hero-sub {
        margin: 0 auto 35px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        height: 400px;
        display: none; /* Hide complex visual on tablet/mobile for cleaner look */
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-box {
        flex-direction: column;
        padding: 40px;
        text-align: center;
    }
    
    .cta-visual {
        width: 100%;
        height: 300px;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand p {
        margin: 20px auto 0;
    }
}
