html, body {
    max-width: 100%;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

:root {
    --bg-black: #0B0C10;           
    --bg-graphite: #16181D;        
    --primary-gold: #C8A97E;       
    --dark-gold: #9E825A;          
    --cream: #F4F1EA;              
    --text-cream: #DEDAD1;         
    --text-dark: #1A1C20;          
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-black);
    color: var(--text-cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-gold);
    font-weight: 600;
    letter-spacing: 0.5px;
}

h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-gold);
    font-weight: 600;
}

a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--cream);
}

section {
    padding: 100px 0;
}

.bg-black { background-color: var(--bg-black) !important; }
.bg-graphite { background-color: var(--bg-graphite) !important; }
.bg-cream { 
    background-color: var(--cream) !important; 
    color: var(--text-dark) !important; 
}
.text-gold { color: var(--primary-gold) !important; }
.text-cream { color: var(--text-cream) !important; }
.text-dark { color: var(--text-dark) !important; }

.bg-cream h2, .bg-cream h3 { color: var(--text-dark); }
.bg-cream h4, .bg-cream h5, .bg-cream h6 { color: var(--text-dark); }
.bg-cream .text-muted { color: #555 !important; }

.section-title {
    margin-bottom: 3rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background-color: var(--primary-gold);
    margin: 1.5rem auto 0;
}

.section-title.text-start::after {
    margin: 1.5rem 0 0 0;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fadeInUp 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards; }
.delay-1 { animation-delay: 0.15s; opacity: 0; }
.delay-2 { animation-delay: 0.3s; opacity: 0; }
.delay-3 { animation-delay: 0.45s; opacity: 0; }

.navbar {
    background-color: #2b2b2b !important;
    border-bottom: 1px solid rgba(200, 169, 126, 0.2);
    transition: all 0.3s ease;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-cream) !important;
    white-space: nowrap; 
}

.nav-link:hover {
    color: var(--primary-gold) !important;
}

.btn-gold {
    background-color: var(--primary-gold);
    color: #2b2b2b !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 1.2rem 3rem;
    border: none;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background-color: var(--cream);
    color: #2b2b2b !important;
    transform: translateY(-2px);
}

.btn-outline-gold {
    background-color: transparent;
    color: var(--primary-gold) !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 1.2rem 3rem;
    border: 1px solid var(--primary-gold);
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    background-color: var(--primary-gold);
    color: #2b2b2b !important;
}

.hero-section {
    position: relative;
    min-height: 100vh;
    background-color: #1e2024; 
    display: flex;
    align-items: center;
    padding-top: 180px; 
    padding-bottom: 80px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('../images/hero-image.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.40;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(30,32,36,0.4) 0%, rgba(22,24,29,0.85) 95%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.8rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--cream);
    text-transform: uppercase;
    letter-spacing: 1px;
}

#about p {
    text-align: justify;
}

.about-principles-list {
    list-style: none;
    padding-left: 0;
}
.about-principles-list li {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.about-composition {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.premium-image-group {
    position: relative;
}

.about-img-frame {
    position: absolute;
    border: 2px solid var(--primary-gold);
    width: 100%;
    height: 100%;
    top: 15px;  
    left: 15px; 
    z-index: 0;
    border-radius: 4px;
}

.about-img-main {
    width: 100%;
    height: 500px; 
    object-fit: cover;
    object-position: top; 
    z-index: 1;
    position: relative;
    border-radius: 4px;
}

.lightbox-img {
    cursor: zoom-in;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.lightbox-img:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
}

#services {
    background-color: #22252c !important; 
    border-top: 1px solid rgba(200, 169, 126, 0.15);
    border-bottom: 1px solid rgba(200, 169, 126, 0.15);
}

.service-card {
    background: #2d313b; 
    border: 1px solid rgba(200, 169, 126, 0.2);
    border-radius: 4px;
    padding: 3.5rem 2.5rem;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card h3 {
    color: #ffffff !important; 
}

.service-card p {
    color: #f0edf5 !important;
    opacity: 0.95 !important;
    text-align: justify !important;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--primary-gold);
    z-index: -1;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s ease;
    opacity: 0.05;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-gold);
    background: #343944;
}

.service-card:hover::before {
    transform: scaleY(1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 2rem;
}

.sticky-title {
    position: sticky;
    top: 130px;
}

.feature-card {
    background: var(--cream);
    border: 1px solid rgba(200, 169, 126, 0.3);
    padding: 3rem;
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.feature-card:hover {
    background: #fff;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    border-color: var(--primary-gold);
}

.why-me-img {
    object-fit: cover;
    object-position: top;
    max-height: 400px;
    width: 100%;
    border: 1px solid rgba(200, 169, 126, 0.3);
    border-radius: 4px;
}

.contact-wrapper {
    background: var(--bg-graphite);
    padding: 5rem 4rem;
    border: 1px solid rgba(200, 169, 126, 0.15);
}

.contact-icon {
    width: 45px; 
    height: 45px;
    background: transparent;
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.contact-icon:hover {
    background: var(--primary-gold);
    color: #2b2b2b;
}

.form-floating > .form-control,
.form-floating > .form-select {
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    background-color: transparent !important;
    padding-left: 0;
    color: var(--cream) !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
    box-shadow: none !important;
    border-color: var(--primary-gold);
    background-color: transparent !important;
}

.form-floating > label {
    padding-left: 0;
    color: #888;
}

.form-floating > .form-select option {
    background-color: var(--bg-graphite);
    color: var(--cream);
}

.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover, 
.form-control:-webkit-autofill:focus, 
.form-control:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px var(--bg-graphite) inset !important;
    -webkit-text-fill-color: var(--cream) !important;
    transition: background-color 5000s ease-in-out 0s;
}

.form-floating > label::after {
    background-color: transparent !important;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-select:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select:not(:placeholder-shown) ~ label {
    color: var(--primary-gold) !important;
    opacity: 0.9;
}

.lightbox-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 12, 16, 0.95);
    backdrop-filter: blur(8px);
}
.lightbox-overlay.active {
    display: flex;
    justify-content: center;
    align-items: center;
}
.lightbox-overlay img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
    animation: zoomIn 0.3s ease;
}
.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--primary-gold);
    font-size: 45px;
    font-weight: 300;
    cursor: pointer;
    transition: 0.3s;
}
.lightbox-close:hover {
    color: #fff;
    transform: scale(1.1);
}

@keyframes zoomIn {
    from {transform: scale(0.95); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

@media (max-width: 991px) {
    .hero-title { font-size: 2.5rem; }
    .hero-section { padding-top: 150px; }
    .sticky-title { position: relative; top: 0; margin-bottom: 2rem; }
    .contact-wrapper { padding: 3rem 2rem; }
    
.premium-image-group {
        margin: 1.5rem auto 2rem auto !important;
        width: 92%; 
    }
    .about-img-frame {
        width: 100%;
        height: 100%;
        left: 10px;
        top: 10px;
    }
    .about-img-main {
        width: 100%;
        height: 380px;
    }
    .why-me-img {
        max-height: 300px;
        margin-bottom: 1.5rem;
    }
}
@media (min-width: 992px) and (max-width: 1250px) {
    .nav-link {
        letter-spacing: 1px;
        font-size: 0.8rem;
    }
    .navbar-nav .px-3 {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    .navbar-nav .ms-lg-4 {
        margin-left: 1rem !important;
    }
    .navbar-brand img {
        max-height: 55px !important;
    }
}