/* Arizona's Vision Eye Care Center - Main Stylesheet */

/* CSS Variables for Brand Colors */
:root {
    --primary-maroon: #8B2332;
    --primary-orange: #FF6B35;
    --dark-text: #2C3E50;
    --light-gray: #F5F5F5;
    --white: #FFFFFF;
    --border-gray: #E0E0E0;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

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

/* Utility Header */
.utility-header {
    background: var(--light-gray);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-gray);
}

.utility-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.utility-header .logo img {
    height: 60px;
    width: auto;
}

.utility-info {
    display: flex;
    gap: 30px;
    align-items: center;
}

.info-block {
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-block i {
    color: var(--primary-orange);
    font-size: 20px;
}

.info-text strong {
    display: block;
    font-size: 14px;
    color: var(--dark-text);
    font-weight: 600;
}

.info-text span {
    font-size: 13px;
    color: #666;
}

/* Main Navigation */
.main-nav {
    background: var(--primary-maroon);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.main-nav .container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    display: block;
    padding: 18px 20px;
    color: var(--white);
    font-weight: 500;
    font-size: 15px;
    transition: background 0.3s ease;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background: rgba(255, 255, 255, 0.1);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 600px;
    background: linear-gradient(rgba(139, 35, 50, 0.7), rgba(139, 35, 50, 0.7)), 
                url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?w=1600&h=900&fit=crop') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-content {
    max-width: 700px;
}

.hero-eyebrow {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-orange);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-benefits {
    list-style: none;
    margin: 25px 0;
    padding: 0;
}

.hero-benefits li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 12px;
    font-size: 18px;
}

.hero-benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: bold;
    font-size: 20px;
}

.hero-cta {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary-orange);
    color: var(--white);
}

.btn-primary:hover {
    background: #E55A2A;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-maroon);
}

.btn-secondary:hover {
    background: var(--light-gray);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-maroon);
    border: 2px solid var(--primary-maroon);
}

.btn-outline:hover {
    background: var(--primary-maroon);
    color: var(--white);
}

/* Promotional Banner */
.promo-banner {
    background: var(--primary-maroon);
    color: var(--white);
    text-align: center;
    padding: 30px 20px;
}

.promo-banner h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.promo-banner .btn {
    margin-top: 10px;
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-light {
    background: var(--white);
}

.section-gray {
    background: var(--light-gray);
}

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

.section-eyebrow {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-orange);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 42px;
    color: var(--dark-text);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-header p {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

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

.about-text h3 {
    font-size: 32px;
    color: var(--dark-text);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #555;
}

.about-image {
    background: var(--border-gray);
    border-radius: 12px;
    overflow: hidden;
    height: 400px;
}

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

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-orange), #FF8C5A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white);
}

.service-card h3 {
    font-size: 22px;
    color: var(--dark-text);
    margin-bottom: 15px;
}

.service-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-orange);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    color: var(--white);
    font-size: 24px;
}

.feature-content h4 {
    font-size: 18px;
    color: var(--dark-text);
    margin-bottom: 8px;
}

.feature-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: var(--primary-maroon);
    color: var(--white);
    text-align: center;
    padding: 60px 20px;
}

.cta-section h2 {
    font-size: 38px;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--primary-orange);
}

.footer-section p,
.footer-section li {
    font-size: 14px;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-orange);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-orange);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-info {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 12px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item i {
    color: var(--primary-orange);
    font-size: 28px;
    width: 40px;
}

.contact-item-content h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--dark-text);
}

.contact-item-content p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

.contact-form {
    background: var(--white);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.map-container {
    margin-top: 50px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* Service Page */
.service-hero {
    background: linear-gradient(135deg, var(--primary-maroon), #6B1825);
    color: var(--white);
    padding: 80px 0 60px;
    text-align: center;
}

.service-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

.service-content {
    padding: 80px 0;
}

.content-with-sidebar {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.main-content h2 {
    font-size: 32px;
    color: var(--dark-text);
    margin-bottom: 20px;
    margin-top: 40px;
}

.main-content h2:first-child {
    margin-top: 0;
}

.main-content h3 {
    font-size: 24px;
    color: var(--dark-text);
    margin-bottom: 15px;
    margin-top: 30px;
}

.main-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.main-content ul {
    margin: 20px 0;
    padding-left: 25px;
}

.main-content ul li {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 10px;
}

.external-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-orange);
    font-weight: 600;
    margin: 20px 0;
    padding: 12px 20px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.external-link:hover {
    background: var(--primary-orange);
    color: var(--white);
}

.external-link i {
    font-size: 14px;
}

.sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    font-size: 20px;
    color: var(--dark-text);
    margin-bottom: 20px;
}

.sidebar-widget ul {
    list-style: none;
}

.sidebar-widget ul li {
    margin-bottom: 12px;
}

.sidebar-widget ul li a {
    color: #555;
    font-size: 15px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-widget ul li a:hover {
    color: var(--primary-orange);
}

.sidebar-widget ul li a i {
    font-size: 12px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .utility-info {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .main-nav .container {
        position: relative;
        display: block;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu li a {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .about-content,
    .contact-grid,
    .content-with-sidebar {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .section-header h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: auto;
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-benefits li {
        font-size: 16px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .service-hero h1 {
        font-size: 32px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
