/* ============================================================
   Clear Choice Hearing Clinic — Global Styles
   ============================================================ */

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

:root {
    --navy:  #09142f;
    --gold:  #c8a951;
    --white: #ffffff;
    --grey:  #f7f7f7;
    --text:  #555555;
    --dark:  #333333;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text);
    line-height: 1.75;
    font-size: 14px;
}

img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
    background: var(--navy);
    color: rgba(255,255,255,0.8);
    font-size: 12px;
    padding: 9px 0;
    position: relative;
    z-index: 200;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar-info {
    display: flex;
    align-items: center;
    gap: 22px;
}
.top-bar-info span { opacity: 0.7; }
.top-bar-info a {
    color: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    gap: 6px;
}
.top-bar-info a:hover { color: var(--gold); }
.top-bar-info i { color: var(--gold); font-size: 11px; }
.top-bar-social { display: flex; gap: 8px; }
.top-bar-social a {
    width: 24px; height: 24px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px;
    color: rgba(255,255,255,0.7);
    transition: all 0.2s;
}
.top-bar-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

/* ============================================================
   HERO WRAPPER — header overlays hero
   ============================================================ */
.hero-wrapper {
    position: relative;
}

/* ============================================================
   HEADER & NAV — transparent overlay on hero
   ============================================================ */
.site-header {
    position: absolute;
    top: 0; left: 0; right: 0;
    background: transparent;
    z-index: 100;
    padding: 0;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}
.logo img { height: 52px; width: auto; }

.main-nav > ul {
    display: flex;
    gap: 0;
    align-items: center;
}
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
    display: block;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(255,255,255,0.92);
    transition: color 0.2s;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li.active > a { color: var(--gold); }

/* Dropdown */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.13);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all 0.2s;
    z-index: 200;
}
.main-nav li:hover > .dropdown {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown li a {
    display: block;
    padding: 10px 18px;
    font-size: 12px;
    color: var(--dark);
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.18s;
}
.dropdown li:last-child a { border-bottom: none; }
.dropdown li a:hover { color: var(--gold); padding-left: 24px; background: #fafafa; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--white);
    transition: all 0.28s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    height: 82vh;
    min-height: 520px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
}
.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 700px;
    padding: 80px 20px 0; /* top padding clears the nav */
}
.hero-content h1 {
    font-family: 'Raleway', sans-serif;
    font-weight: 200;
    font-size: 42px;
    line-height: 1.3;
    margin-bottom: 32px;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.4);
    text-transform: uppercase;
    letter-spacing: 3px;
}
.btn-hero {
    display: inline-block;
    background: var(--gold);
    color: var(--white);
    padding: 13px 34px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.22s;
    border: 2px solid var(--gold);
}
.btn-hero:hover { background: transparent; color: var(--white); }

/* ============================================================
   ENHANCED SECTION
   ============================================================ */
.enhanced-section {
    padding: 70px 0 60px;
    background: var(--white);
}
.enhanced-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 60px;
    align-items: start;
}
.enhanced-heading {
    font-family: 'Raleway', sans-serif;
    font-weight: 100;
    font-size: 50px;
    text-transform: uppercase;
    letter-spacing: 6px;
    color: var(--gold);
    line-height: 1.15;
}
.enhanced-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}
.enhanced-text p {
    font-size: 13.5px;
    color: var(--text);
    line-height: 1.85;
    margin-bottom: 16px;
}
.enhanced-text p:last-child { margin-bottom: 0; }
.enhanced-image img {
    width: 100%;
    object-fit: cover;
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.section        { padding: 60px 0; }
.section-grey   { background: var(--grey); }
.section-navy   { background: var(--navy); }
.section-white  { background: var(--white); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.service-item h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    margin-bottom: 12px;
    line-height: 1.4;
}
.service-item p {
    font-size: 13.5px;
    color: var(--text);
    line-height: 1.8;
}
.service-item .read-more {
    display: inline-block;
    margin-top: 14px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--gold);
    transition: color 0.2s;
}
.service-item .read-more:hover { color: var(--dark); }

/* ============================================================
   WHO WE ARE
   ============================================================ */
.section-title {
    text-align: center;
    margin-bottom: 48px;
}
.section-title h2 {
    font-family: 'Raleway', sans-serif;
    font-weight: 100;
    font-size: 42px;
    text-transform: uppercase;
    letter-spacing: 6px;
    color: var(--gold);
    display: inline-block;
}
.section-title p {
    font-size: 13.5px;
    color: var(--text);
    max-width: 560px;
    margin: 14px auto 0;
    line-height: 1.8;
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 30px;
}
.value-card {
    text-align: center;
    padding: 10px 16px;
}
.value-icon-circle {
    width: 90px; height: 90px;
    border: 1px solid #d8d8d8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    transition: border-color 0.22s;
}
.value-card:hover .value-icon-circle { border-color: var(--gold); }
.value-icon-circle i {
    font-size: 32px;
    color: var(--gold);
}
.value-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}
.value-card p { font-size: 13px; color: var(--text); line-height: 1.75; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.section-testimonials { background: var(--white); }

.testimonials-wrap {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    user-select: none;
    cursor: grab;
}
.testimonials-wrap:active { cursor: grabbing; }
.testimonial-quote-mark {
    position: absolute;
    left: 14px;
    top: 10px;
    font-size: 80px;
    line-height: 1;
    color: #cccccc;
    font-family: 'Times New Roman', Times, serif;
    pointer-events: none;
    z-index: 2;
    letter-spacing: -4px;
}
.testimonial-slide { display: none; }
.testimonial-slide.active { display: block; }

.testimonial-card {
    background: #f7f8f9;
    padding: 50px 80px 50px;
    text-align: center;
    position: relative;
    z-index: 1;
}
.testimonial-author-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    font-family: 'Open Sans', sans-serif;
}
.testimonial-avatar {
    width: 96px; height: 96px;
    border-radius: 50%;
    border: 3px solid var(--gold);
    object-fit: cover;
    display: block;
    margin: 0 auto 24px;
}
.testimonial-quote {
    font-size: 14px;
    color: var(--text);
    line-height: 1.9;
    max-width: 580px;
    margin: 0 auto;
}
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}
.testimonial-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: #c8c8c8;
    border: none; cursor: pointer;
    transition: background 0.2s;
}
.testimonial-dot.active { background: #2991d6; }

/* ============================================================
   INNER PAGE — HEADER (solid navy, overrides transparent)
   ============================================================ */
.inner-header {
    position: relative;
    background: var(--navy);
}

/* ============================================================
   INNER PAGE — BANNER
   ============================================================ */
.page-banner {
    background: var(--navy);
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 64px 0;
    text-align: center;
}
.page-banner::before {
    content: '';
    position: absolute; inset: 0;
    background: rgba(9,20,47,0.72);
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 {
    font-family: 'Raleway', sans-serif;
    font-weight: 200;
    font-size: 42px;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--white);
}
.page-banner .breadcrumb {
    color: rgba(255,255,255,0.55);
    font-size: 12px;
    margin-top: 12px;
}
.page-banner .breadcrumb a { color: var(--gold); }
.page-banner .breadcrumb span { margin: 0 8px; }

/* ============================================================
   INNER PAGE — CONTENT
   ============================================================ */
.page-content { padding: 64px 0; }
.page-content h2 {
    font-family: 'Raleway', sans-serif;
    font-weight: 200;
    font-size: 36px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--dark);
    margin-bottom: 20px;
}
.page-content h3 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gold);
    letter-spacing: 1px;
    margin: 24px 0 10px;
}
.page-content p { margin-bottom: 16px; font-size: 14px; line-height: 1.85; }
.page-content ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.page-content ul li { margin-bottom: 8px; font-size: 14px; }

/* ============================================================
   INNER PAGE — TWO COLUMN LAYOUT
   ============================================================ */
.two-col-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 50px;
    align-items: start;
}
.sidebar-box {
    background: var(--grey);
    padding: 26px;
    margin-bottom: 24px;
}
.sidebar-box h4 {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--dark);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
}
.sidebar-contact { list-style: none; }
.sidebar-contact li {
    display: flex; gap: 10px; align-items: flex-start;
    font-size: 13px; margin-bottom: 12px; color: var(--text);
}
.sidebar-contact li i { color: var(--gold); font-size: 11px; margin-top: 3px; flex-shrink: 0; }
.sidebar-contact a { color: var(--text); }
.sidebar-contact a:hover { color: var(--gold); }
.btn-sidebar {
    display: block;
    text-align: center;
    margin-top: 18px;
    background: var(--gold);
    color: var(--white);
    padding: 11px 0;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: background 0.2s;
}
.btn-sidebar:hover { background: var(--navy); }
.sidebar-links { list-style: none; }
.sidebar-links li { margin-bottom: 8px; }
.sidebar-links li a {
    font-size: 13px; color: var(--text);
    padding-left: 12px;
    border-left: 2px solid transparent;
    transition: all 0.18s;
    display: block;
}
.sidebar-links li a:hover { color: var(--gold); border-left-color: var(--gold); padding-left: 16px; }

@media (max-width: 1024px) {
    .two-col-content { grid-template-columns: 1fr; }
}

/* ============================================================
   TEAM PAGE
   ============================================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}
.team-card {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}
.team-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid var(--gold);
}
.team-info h3 {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--dark);
    margin-bottom: 4px;
}
.team-info .team-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    margin-bottom: 14px;
}
.team-info p { font-size: 13.5px; line-height: 1.85; margin-bottom: 12px; }

/* Testimonials full page */
.testimonials-list { display: flex; flex-direction: column; gap: 32px; }
.testimonial-item {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    padding: 28px;
    background: var(--grey);
}
.testimonial-item-avatar {
    width: 80px; height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold);
    flex-shrink: 0;
}
.testimonial-item-body { flex: 1; }
.testimonial-item-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--dark);
    margin-bottom: 8px;
}
.testimonial-item-quote {
    font-size: 14px;
    font-style: italic;
    color: var(--text);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .team-grid { grid-template-columns: 1fr; }
    .team-card { flex-direction: column; align-items: center; text-align: center; }
    .team-photo { width: 130px; height: 130px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: var(--navy); color: rgba(255,255,255,0.65); }
.footer-main {
    padding: 56px 0 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 44px;
}
.footer-logo { height: 44px; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: 0.8; }
.footer-about p { font-size: 13px; line-height: 1.85; }
.footer-col h4 {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    color: var(--white);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
}
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { font-size: 12.5px; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-contact-list li { display: flex; gap: 11px; font-size: 12.5px; margin-bottom: 12px; align-items: flex-start; }
.footer-contact-list li i { color: var(--gold); width: 14px; margin-top: 4px; flex-shrink: 0; font-size: 11px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 18px 0;
    text-align: center;
    font-size: 11.5px;
    color: rgba(255,255,255,0.35);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .services-grid  { grid-template-columns: repeat(2, 1fr); }
    .values-grid    { grid-template-columns: repeat(2, 1fr); }
    .footer-main    { grid-template-columns: 1fr 1fr; }
    .footer-about   { grid-column: 1 / -1; }
    .enhanced-grid  { grid-template-columns: 1fr; gap: 32px; }
    .enhanced-right { grid-template-columns: 1fr; }
    .enhanced-image { display: none; }
    .enhanced-heading { font-size: 38px; }
}

@media (max-width: 768px) {
    .top-bar-social { display: none; }
    .hamburger { display: flex; }

    .site-header { position: relative; background: var(--navy); }
    .header-inner { padding: 14px 0; }
    .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); box-shadow: 0 8px 20px rgba(0,0,0,0.1); z-index: 200; }
    .main-nav.open { display: block; }
    .main-nav > ul { flex-direction: column; gap: 0; }
    .main-nav > ul > li > a { color: var(--dark); padding: 13px 20px; border-bottom: 1px solid #f0f0f0; font-size: 13px; }
    .main-nav > ul > li > a:hover, .main-nav > ul > li.active > a { color: var(--gold); }
    .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; background: #f9f9f9; }
    .main-nav li.open > .dropdown { display: block; }
    .dropdown li a { padding-left: 32px; }
    .hamburger span { background: var(--white); }

    .hero { height: 60vh; min-height: 400px; }
    .hero-content { padding-top: 0; }
    .hero-content h1 { font-size: 26px; }
    .hero-wrapper .site-header { position: relative; }

    .services-grid { grid-template-columns: 1fr; }
    .values-grid   { grid-template-columns: repeat(2, 1fr); }
    .footer-main   { grid-template-columns: 1fr; gap: 28px; }
    .section { padding: 44px 0; }
    .enhanced-heading { font-size: 30px; letter-spacing: 4px; }
    .testimonial-card { padding: 30px 24px 36px; }
    .testimonial-quote-mark { display: none; }
}
