/* Custom Fonts */
@font-face {
    font-family: 'LouizeDisplay';
    src: url('fonts/LouizeDisplay.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'LouizeDisplay';
    src: url('fonts/LouizeDisplay-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'LouizeDisplay';
    src: url('fonts/LouizeDisplay-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'LouizeDisplay';
    src: url('fonts/LouizeDisplay-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'LouizeDisplay';
    src: url('fonts/LouizeDisplay-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'LouizeDisplay';
    src: url('fonts/LouizeDisplay-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

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

body {
    font-family: 'LouizeDisplay', serif;
    line-height: 1.6;
    color: #2A1700;
    background-color: #f5f5f5;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Background Container */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Video Background */
.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Mobile video fallback */
@media (max-width: 768px) {
    .background-video {
        /* Ensure video doesn't interfere with mobile performance */
        will-change: auto;
    }
    
    /* If video fails to load, ensure gradient is visible */
    .background-video[style*="display: none"] + .gradient-background {
        opacity: 1 !important;
    }
}

.gradient-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(219, 165, 70, 0.75) 0%, rgba(233, 134, 7, 0.75) 100%);
    z-index: 2;
    opacity: 1; /* Always visible as fallback */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 3;
}

/* Content Layout */
.content {
    position: relative;
    z-index: 4;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.container {
    max-width: 1200px;
    width: 100%;
    background: transparent;
    padding: 0;
    box-shadow: none;
    backdrop-filter: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Construction Banner */
.construction-banner {
    text-align: left;
    margin-bottom: 24px;
    position: relative;
}

.construction-banner p {
    font-family: 'LouizeDisplay', serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 12px;
    letter-spacing: 2.40px;
    color: rgba(64, 36, 0, 0.80);
    text-transform: uppercase;
}

/* Main Content */
.main-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    top: -5vh;
}

/* Desktop responsive text scaling (1025px and above) */
@media (min-width: 1025px) {
    .container {
        width: min(90vw, 1000px) !important;
    }
    
    .left-column {
        width: 500px !important;
    }
    
    .right-column {
        width: 220px !important;
    }
    
    .construction-banner p {
        font-size: clamp(16px, 1.2vw, 18px) !important;
        line-height: 1.2 !important;
        letter-spacing: clamp(2px, 0.15vw, 2.4px) !important;
    }
    
    .main-title {
        font-size: clamp(32px, 3.5vw, 36px) !important;
        line-height: 1 !important;
    }
    
    .services-description {
        font-size: clamp(20px, 2.2vw, 24px) !important;
        line-height: 1.5 !important;
    }
    
    .doctor-name,
    .phone-number {
        font-size: clamp(20px, 2vw, 22px) !important;
        line-height: 1.2 !important;
    }
    
    .location-title {
        font-size: clamp(16px, 1.2vw, 18px) !important;
        line-height: 1 !important;
        letter-spacing: clamp(2px, 0.15vw, 2.4px) !important;
    }
    
    .address {
        font-size: clamp(20px, 2.2vw, 24px) !important;
        line-height: 1.5 !important;
    }
    
    /* Stacked fallback for contact info when names are too long */
    .contact-row.stacked {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }
    
    .contact-row.stacked .doctor-name,
    .contact-row.stacked .phone-number {
        font-size: clamp(20px, 2.2vw, 24px) !important; /* Same as address */
        line-height: 1.5 !important;
        max-width: 100% !important;
        text-align: left !important;
    }
}

/* Left Column */
.left-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 376px;
}

.main-title {
    font-family: 'LouizeDisplay', serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 24px;
    color: #2A1700;
    margin-bottom: 0;
}

.services-description {
    font-family: 'LouizeDisplay', serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #402400;
    margin-bottom: 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    gap: 0;
}

.doctor-name {
    font-family: 'LouizeDisplay', serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #402400;
}

.phone-number {
    font-family: 'LouizeDisplay', serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #402400;
    text-align: right;
    white-space: nowrap;
}

/* Right Column */
.right-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 168px;
}

.location-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.location-title {
    font-family: 'LouizeDisplay', serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 12px;
    letter-spacing: 2.40px;
    color: rgba(64, 36, 0, 0.80);
    text-transform: uppercase;
}

.address {
    font-family: 'LouizeDisplay', serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #2A1700;
}

/* Border bottom for title section */
.title-section {
    padding-bottom: 16px;
    border-bottom: 0.50px solid rgba(64, 36, 0, 0.20);
    margin-bottom: 16px;
}

.title-section .main-title {
    margin-bottom: 8px;
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .container {
        justify-content: center;
        width: min(95vw, 800px);
    }
    
    .main-content {
        top: -3vh;
        gap: 40px;
    }
    
    .left-column {
        width: 450px;
    }
    
    .right-column {
        width: 200px;
    }
    
    /* Responsive text scaling for tablet */
    .construction-banner p {
        font-size: clamp(16px, 2.2vw, 18px) !important;
        line-height: 1.2 !important;
        letter-spacing: clamp(2px, 0.3vw, 2.4px) !important;
    }
    
    .main-title {
        font-size: clamp(28px, 4.5vw, 32px) !important;
        line-height: 1 !important;
    }
    
    .services-description {
        font-size: clamp(20px, 3.2vw, 22px) !important;
        line-height: 1.5 !important;
    }
    
    .doctor-name,
    .phone-number {
        font-size: clamp(18px, 2.8vw, 20px) !important;
        line-height: 1.2 !important;
    }
    
    .location-title {
        font-size: clamp(16px, 2.2vw, 18px) !important;
        line-height: 1 !important;
        letter-spacing: clamp(2px, 0.3vw, 2.4px) !important;
    }
    
    .address {
        font-size: clamp(20px, 3.2vw, 22px) !important;
        line-height: 1.5 !important;
    }
    
    /* Stacked fallback for contact info when names are too long */
    .contact-row.stacked {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 6px !important;
    }
    
    .contact-row.stacked .doctor-name,
    .contact-row.stacked .phone-number {
        font-size: clamp(20px, 3.2vw, 22px) !important; /* Same as address */
        line-height: 1.5 !important;
        max-width: 100% !important;
        text-align: left !important;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .content {
        padding: 0;
        min-height: 100vh;
        align-items: center;
        justify-content: center;
    }
    
    .container {
        min-height: auto;
        justify-content: center;
        align-items: center;
        padding: 0;
        width: min(90vw, 400px);
        height: auto;
        position: relative;
        max-height: 100vh;
        overflow-y: auto;
    }
    
    .main-content {
        position: relative;
        top: 0;
        left: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
        padding: 0;
    }
    
    .left-column {
        width: 100%;
        align-items: flex-start;
    }
    
    .title-section {
        width: 100%;
        padding-bottom: 16px;
        border-bottom: 0.50px solid rgba(64, 36, 0, 0.20);
        margin-bottom: 0;
        text-align: left;
    }
    
    .contact-info {
        width: 100%;
        align-items: flex-start;
        margin-top: 16px;
    }
    
    .contact-row {
        width: 100%;
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 0;
        justify-content: space-between;
        padding: 4px 0;
        box-sizing: border-box;
    }
    
    .doctor-name {
        font-size: clamp(14px, 3vw, 18px);
        line-height: 1;
        flex-shrink: 0;
        max-width: 60%;
    }
    
    .phone-number {
        font-size: clamp(14px, 3vw, 18px);
        line-height: 1;
        text-align: right;
        white-space: nowrap;
        flex-shrink: 0;
        max-width: 40%;
    }
    
    .right-column {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        align-items: flex-start;
        margin-top: 40px;
    }
    
    /* Responsive text scaling */
    .construction-banner p {
        font-size: clamp(14px, 2.5vw, 16px);
        line-height: 1;
        letter-spacing: clamp(1.5px, 0.4vw, 2.4px);
    }
    
    .main-title {
        font-size: clamp(26px, 5vw, 30px);
        line-height: 1;
    }
    
    .services-description {
        font-size: clamp(18px, 3.5vw, 20px);
        line-height: 1.5;
    }
    
    .location-title {
        font-size: clamp(14px, 2.5vw, 16px);
        line-height: 1;
        letter-spacing: clamp(1.5px, 0.4vw, 2.4px);
    }
    
    .address {
        font-size: clamp(18px, 3.5vw, 20px);
        line-height: 1.5;
    }
}

/* Medium Mobile Styles */
@media (max-width: 600px) and (min-width: 481px) {
    .container {
        width: min(92vw, 380px);
    }
    
    /* Slightly larger scaling for medium mobile screens */
    .construction-banner p {
        font-size: clamp(12px, 2.8vw, 14px);
    }
    
    .main-title {
        font-size: clamp(26px, 5.5vw, 28px);
    }
    
    .services-description {
        font-size: clamp(17px, 3.8vw, 18px);
    }
    
    .doctor-name,
    .phone-number {
        font-size: clamp(15px, 3.3vw, 18px);
    }
    
    .location-title {
        font-size: clamp(12px, 2.8vw, 14px);
    }
    
    .address {
        font-size: clamp(17px, 3.8vw, 18px);
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .content {
        padding: 0;
    }
    
    .container {
        width: min(95vw, 350px);
        max-width: none;
    }
    
    .left-column {
        width: 100%;
        max-width: none;
    }
    
    .contact-info {
        width: 100%;
        max-width: none;
    }
    
    .right-column {
        width: 100%;
        max-width: none;
    }
    
    .main-content {
        padding-left: 0;
        padding-right: 0;
    }
    
    /* Enhanced scaling for very small screens */
    .construction-banner p {
        font-size: clamp(12px, 2.2vw, 14px);
    }
    
    .main-title {
        font-size: clamp(22px, 4.5vw, 26px);
    }
    
    .services-description {
        font-size: clamp(15px, 3.2vw, 18px);
    }
    
    .doctor-name,
    .phone-number {
        font-size: clamp(13px, 2.8vw, 18px);
    }
    
    .location-title {
        font-size: clamp(12px, 2.2vw, 14px);
    }
    
    .address {
        font-size: clamp(15px, 3.2vw, 18px);
    }
}

/* Print Styles */
@media print {
    .background-container {
        display: none;
    }
    
    .content {
        background: white;
    }
    
    .container {
        box-shadow: none;
        background: white;
    }
} 