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

/* ========================================
   CSS VARIABLES & RESET
   ======================================== */
:root {
    --primary-red: #8B2020;
    --dark-red: #6B1515;
    --accent-orange: #E07020;
    --light-gray: #F5F5F5;
    --dark-gray: #333333;
    --white: #FFFFFF;
    --text-color: #444444;
    --border-color: #E0E0E0;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    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;
}

ul {
    list-style: none;
}

/* ========================================
   TOP INFO BAR
   ======================================== */
.top-bar {
    background: var(--light-gray);
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.top-bar-info {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.top-bar-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-bar-info i {
    color: var(--primary-red);
}

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

.social-links a {
    color: var(--primary-red);
    font-size: 16px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-orange);
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-main {
    padding: 15px 0;
}

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

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

.header-contact {
    display: flex;
    gap: 30px;
    align-items: center;
}

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

.contact-item strong {
    color: var(--primary-red);
    font-size: 18px;
    margin-bottom: 2px;
}

.contact-item span {
    font-size: 13px;
    color: var(--text-color);
}

.btn-appointment {
    background: var(--accent-orange);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-appointment:hover {
    background: var(--primary-red);
    transform: translateY(-2px);
}

/* Navigation */
nav {
    background: var(--primary-red);
}

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

.nav-menu {
    display: flex;
    gap: 0;
}

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

.nav-menu li a:hover,
.nav-menu li a.active {
    background: var(--dark-red);
}

.mobile-menu-toggle {
    display: none;
    background: var(--white);
    border: none;
    font-size: 24px;
    color: var(--primary-red);
    cursor: pointer;
    padding: 5px 10px;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: var(--white);
    padding: 80px 0;
    overflow: hidden;
}

.hero::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 1200 600"><path d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    background: var(--accent-orange);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    display: inline-block;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 14px;
}

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

.hero h1 span {
    color: var(--accent-orange);
}

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

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.hero-feature {
    text-align: center;
}

.hero-feature i {
    font-size: 40px;
    color: var(--accent-orange);
    margin-bottom: 10px;
}

.hero-feature h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.hero-stats {
    background: rgba(255,255,255,0.1);
    padding: 15px 30px;
    border-radius: 10px;
    display: inline-block;
    margin-top: 20px;
    font-size: 18px;
}

/* ========================================
   OFFER BANNER
   ======================================== */
.offer-banner {
    background: var(--accent-orange);
    color: var(--white);
    padding: 25px 0;
    text-align: center;
}

.offer-banner h2 {
    font-size: 28px;
    margin-bottom: 5px;
}

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

.section {
    padding: 80px 0;
}

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

.section-badge {
    color: var(--primary-red);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 40px;
    color: var(--dark-gray);
    margin-bottom: 15px;
    line-height: 1.3;
}

.section-title span {
    color: var(--primary-red);
    font-weight: 700;
}

.section-description {
    font-size: 18px;
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

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

.about-text h2 {
    font-size: 36px;
    color: var(--dark-gray);
    margin-bottom: 20px;
}

.about-text h2 span {
    color: var(--primary-red);
}

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

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ========================================
   REVIEWS SECTION
   ======================================== */
.reviews {
    background: var(--light-gray);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.reviewer-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--light-gray);
}

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

.reviewer-info h3 {
    color: var(--dark-gray);
    font-size: 18px;
    margin-bottom: 5px;
}

.stars {
    color: var(--accent-orange);
    font-size: 14px;
}

.review-text {
    line-height: 1.7;
    color: var(--text-color);
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.service-image {
    height: 200px;
    overflow: hidden;
    background: var(--light-gray);
}

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

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px;
}

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

.service-content p {
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.7;
}

.btn-learn-more {
    color: var(--primary-red);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-learn-more:hover {
    color: var(--accent-orange);
}

/* ========================================
   TEAM SECTION
   ======================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.team-member {
    text-align: center;
}

.team-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--primary-red);
    background: var(--light-gray);
}

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

.team-member h3 {
    font-size: 24px;
    color: var(--dark-gray);
    margin-bottom: 5px;
}

.team-member .position {
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 15px;
}

.team-member p {
    color: var(--text-color);
    line-height: 1.7;
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features {
    background: var(--primary-red);
    color: var(--white);
}

.features .section-title {
    color: var(--white);
}

.features .section-badge {
    color: var(--accent-orange);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--accent-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.feature-item p {
    opacity: 0.9;
    line-height: 1.6;
}

/* ========================================
   BRANDS SECTION
   ======================================== */
.brands {
    background: var(--light-gray);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.brand-item {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.brand-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.brand-item img {
    max-width: 150px;
    margin: 0 auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.brand-item:hover img {
    filter: grayscale(0%);
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */
.how-it-works {
    background: var(--white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.step-item {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-item h3 {
    font-size: 24px;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.step-item p {
    color: var(--text-color);
    line-height: 1.7;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 20px;
}

.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(--accent-orange);
}

.footer-section p,
.footer-section li {
    margin-bottom: 10px;
    opacity: 0.9;
    line-height: 1.7;
}

.footer-section a {
    color: var(--white);
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-orange);
}

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.8;
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-info-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-info-card i {
    font-size: 40px;
    color: var(--primary-red);
    margin-bottom: 15px;
}

.contact-info-card h3 {
    font-size: 20px;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.contact-form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

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

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

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

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

.btn-submit {
    background: var(--primary-red);
    color: var(--white);
    padding: 14px 40px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: var(--accent-orange);
    transform: translateY(-2px);
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

/* ========================================
   SERVICE PAGE
   ======================================== */
.page-hero {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    opacity: 0.9;
}

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

.breadcrumb a:hover {
    color: var(--accent-orange);
}

.service-detail {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.service-main-content h2 {
    font-size: 32px;
    color: var(--dark-gray);
    margin: 30px 0 15px;
}

.service-main-content h3 {
    font-size: 24px;
    color: var(--primary-red);
    margin: 25px 0 15px;
}

.service-main-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.service-main-content ul {
    list-style: disc;
    margin-left: 30px;
    margin-bottom: 20px;
}

.service-main-content ul li {
    margin-bottom: 10px;
    line-height: 1.7;
}

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

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

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

.sidebar-services {
    list-style: none;
}

.sidebar-services li {
    margin-bottom: 10px;
}

.sidebar-services a {
    display: block;
    padding: 12px 15px;
    background: var(--white);
    border-radius: 5px;
    color: var(--dark-gray);
    transition: all 0.3s ease;
}

.sidebar-services a:hover,
.sidebar-services a.active {
    background: var(--primary-red);
    color: var(--white);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .about-content,
    .contact-form-container,
    .service-detail {
        grid-template-columns: 1fr;
    }
    
    .service-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .header-contact {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 145px;
        left: -100%;
        flex-direction: column;
        width: 100%;
        background: var(--primary-red);
        transition: left 0.3s ease;
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu li a {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 20px;
    }
    
    .top-bar .container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .logo img {
        height: 40px;
    }
}
