
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    line-height: 1.6;
}


.hero {
    position: relative;
    width: 100%;
    max-width: 1400px;  
    margin: 0 auto;  
    height: 95vh;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: contain;  
    display: block;
    background-color: #f5f5f5;  
}

.hero-content {
    position: absolute;
    top: 5%;  
    left: 50%;
    transform: translate(-50%, 0);  
    text-align: center;
    color: #333;  
    z-index: 10;
}

.hero h1 {
    font-family: "Cinzel", serif;
    font-size: clamp(0.8rem, 2vw, 1.67rem);  
    font-weight: 400;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    line-height: 1.0;
    margin-bottom: 1rem;
    white-space: nowrap;
    opacity: 0.85;  
}

.subtitle {
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    font-size: 0.7rem;
    letter-spacing: 0.4em;  
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.view-work-link {
    display: inline-block;
    font-family: "Cinzel", serif;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #000;
    text-decoration: none;
    border: 2px solid #000;
    padding: 12px 30px;
    transition: all 0.3s ease;
}

.view-work-link:hover {
    background-color: #000;
    color: #fff;
}


footer {
    text-align: center;
    padding: 20px;
    font-size: 0.85rem;
    color: #666;
}


@media (max-width: 768px) {
    .hero h1 {
        white-space: normal;
        letter-spacing: 0.15em;
        font-size: 1.5rem;
    }
    
    .subtitle {
        letter-spacing: 0.2em;
    }
}


.portfolio-page {
    background-color: #ffffff;  
    min-height: auto;  
    padding: 40px 20px;
}

.container {
    display: flex;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.sidebar {
    flex: 0 0 200px;
    max-width: 200px;
    position: relative;
}

.logo {
    width: 120px;
    height: auto;
    display: block;
    margin-top: 50px;
    margin-bottom: 80px;
}


.phone {
    font-family: "Palatino Linotype", Palatino, serif;
    font-size: 0.75rem;
    line-height: 1.3;
    margin-top: 220px;  
    margin-bottom: 12px;  
}

.no-phone {
    pointer-events: none;
}

a[href^="tel"] .no-phone {
    text-decoration: none;
}
address {
    font-style: normal;
    margin-top: 0;  
}

.description {
    font-family: "Palatino Linotype", Palatino, serif;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 30px;  
}
.address-line,
.license {
    font-family: "Palatino Linotype", Palatino, serif;
    font-size: 0.75rem;
    line-height: 1.3;
    margin-bottom: 3px;
}
.license span {
    text-decoration: none !important;
}

a[x-apple-data-detectors] {
    color: inherit !important;
    text-decoration: none !important;
}
.phone strong {
    font-size: 0.85rem;
    font-weight: normal;
}
.phone a {
    color: inherit;
    text-decoration: none;
    font-size: 1.0rem;  
}

.phone a:hover {
    text-decoration: underline;
}

.sidebar-footer {
    height: 30px;
    background-color: #c0c0c0;
    position: absolute;
    top: 710px;  
    left: 0;
    width: 310px;  
    z-index: 5;  
}

.main-content {
    flex: 1;
    position: relative;
}


.overlay-heading {
    font-family: "Cinzel", serif;
    font-size: 1.1rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    line-height: 1.6;
    position: absolute;
    top: 300px;  
    left: 5px;  
    z-index: 10;
    border-bottom: 2px solid white;
    padding-bottom: 6px;
    margin: 0;
    color: white;
    font-weight: 400;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
    max-width: 80%;
}

.photo-grid {
    display: flex;
    gap: 15px;
    background: white;
    padding: 20px;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: 80px;  
    width: fit-content;
    position: relative;
    z-index: 2;
    align-items: flex-start;  
}

.photo-column {
    display: flex;
    gap: 15px;
}

.photo-column:first-child {
    flex: 0 0 48%;
}

.photo-column:last-child {
    flex: 0 0 52%;
    display: flex;
    gap: 15px;
    align-items: flex-end;  
}
.photo-column:last-child .photo-item {
    flex: 1;
}
.photo-item {
    position: relative;
    flex: 1;  
}

.photo-item img {
    width: 100%;
    height: 250px;  
    object-fit: cover;  
    display: block;
}

.photo-label {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #000;
    color: white;
    font-family: "Cinzel", serif;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    padding: 8px 16px;
    text-transform: uppercase;
}

.featured-image {
    position: relative;
    margin-top: -100px;
    margin-left: -50px;
    margin-right: 0;
    width: calc(100% + 50px);
    z-index: 1;
}

.featured-image > img:first-child {
    width: 100%;
    height: auto;
    max-height: 570px;  
    object-fit: cover;
    display: block;
    border: 20px solid white;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}


.style-overlay {
    position: absolute;
    bottom: 40px;  
    right: 220px;   
    width: 250px;
    height: auto;
    opacity: 0.9;  
    z-index: 10;
    border: none !important;  
    background-color: transparent !important;  
    max-height: none !important;
}


@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .view-work-link:active {
        background-color: #000;
        color: #fff;
    }
    .sidebar {
        flex: 1;
        max-width: 100%;
    }

    .description {
        max-width: 280px;  
        margin-left: 0;
        margin-right: 0;
    }
    .phone {
        font-family: "Palatino Linotype", Palatino, serif;
        font-size: 0.75rem;
        line-height: 1.3;
        margin-top: 40px;  
        margin-bottom: 12px;  
    }

    address {
        font-style: normal;
        margin-top: 0;  
    }   

    .description {
        font-family: "Palatino Linotype", Palatino, serif;
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 30px;  
    }
    
    
    .photo-grid {
        flex-direction: column;
        margin-right: 0;
        width: 100%;
    }
    
    .photo-column:first-child {
        width: 100%;
    }
    
    .photo-column:last-child {
        flex-direction: row !important;  
        width: 100%;
    }
    
    
    .overlay-heading {
        position: static;
        margin-bottom: 20px;
        color: #000;
        border-bottom: 3px solid #000;  
        padding-bottom: 8px;
        text-shadow: none;
        font-weight: 600; 
        font-size: 0.95rem;  
        letter-spacing: 0.2em;
}
    
    .featured-image {
        margin-top: 0px !important;
        margin-left: auto !important;  
        margin-right: 0 !important;    
        width: 100% !important;
}
    
  .featured-image > img:first-child {
        border: 10px solid white !important;
    }


   .style-overlay {
        position: absolute;
        bottom: 20px;  
        right: 90px;   
        width: 130px;
        height: auto;
        opacity: 0.9; 
        z-index: 10;
        border: none !important;  
        background-color: transparent !important;  
        max-height: none !important;
   }
    
    .sidebar-footer {
        position: relative !important;
        top: auto !important;
        width: 100% !important;
        margin-top: 20px !important;
    }
    
          
           
    .featured-image::before {
        content: "AFTER";
        position: absolute;
        top: 10px;  
        left: 10px;  
        background-color: #000;
        color: white;
        font-family: "Cinzel", serif;
        font-size: 0.7rem;
        letter-spacing: 0.2em;
        padding: 8px 16px;
        text-transform: uppercase;
        z-index: 11;
    }
   

}