/* --- Global Styles & Brand Palette --- */
:root {
    --black: #121212;
    --dark-grey: #1a1a1a;
    --warm-platinum: #A99F96;
    --white: #F5F5F5;
    --font-family: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth; /* THE MAGIC FOR SMOOTH SCROLLING! */
}

body {
    font-family: var(--font-family);
    background-color: var(--black);
    color: var(--white);
    overflow-x: hidden;
}

/* --- Header & Navigation --- */
header {
    position: fixed; /* Changed to fixed to stay on top while scrolling */
    width: 100%;
    padding: 20px 5%;
    z-index: 1000;
    background-color: rgba(18, 18, 18, 0.8); /* Added a background for readability */
    backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: center; /* Center the nav links */
    align-items: center;
}

.nav-logo {
    opacity: 0;
    transition: opacity 0.3s ease;
    margin-right: 20px; /* Add space between logo and links */
}

.nav-logo img {
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--warm-platinum);
}

header.scrolled .nav-logo {
    opacity: 1;
}

.logo {
    margin-bottom: 20px; /* Adds space between the logo and the h1 */
}

.logo img {
    height: 150px; /* Increased size for hero section */
    border-radius: 50%;
    border: 4px solid var(--warm-platinum);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--black);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }
    .nav-links.active {
        transform: translateX(0);
    }
    .about-container { flex-direction: column; }
    .hamburger {
        display: block;
        cursor: pointer;
        z-index: 1001; /* Ensure it's above the nav-links */
    }
    .hamburger .line {
        width: 30px;
        height: 3px;
        background-color: var(--white);
        margin: 6px 0;
        transition: all 0.3s ease;
    }
    .hamburger.active .line:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .hamburger.active .line:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .line:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}
.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--warm-platinum);
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    position: relative;
    background: linear-gradient(rgba(18, 18, 18, 0.8), rgba(18, 18, 18, 0.8)), 
                url('images/background.png') no-repeat center center/cover;
}

.hero-content {
    max-width: 800px;
    animation: fadeIn 2s ease-in-out;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    min-height: 140px; /* Prevents layout shift from typed.js */
}

.typed-text {
    color: var(--warm-platinum);
}

.hero-content p {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 40px;
    color: rgba(245, 245, 245, 0.8);
}

.cta-button {
    display: inline-block;
    padding: 15px 35px;
    background-color: transparent;
    border: 2px solid var(--warm-platinum);
    color: var(--warm-platinum);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

.cta-button:hover {
    background-color: var(--warm-platinum);
    color: var(--black);
}

/* --- General Content Section Styling --- */
.content-section {
    padding: 100px 5%;
}

.section-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.content-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--warm-platinum);
}

.section-subtitle {
    font-size: 1.1rem;
    color: rgba(245, 245, 245, 0.7);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--dark-grey);
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid #222;
    text-align: left;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--warm-platinum);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--warm-platinum);
    margin-bottom: 15px;
}

/* --- About Section --- */
.alt-bg {
    background-color: var(--dark-grey);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
    text-align: left;
}

.about-text {
    flex: 1;
}

.about-text p {
    line-height: 1.7;
    color: rgba(245, 245, 245, 0.8);
}

.about-image-container {
    flex: 1;
    max-width: 500px;
    position: relative;
    height: 500px; /* Set a fixed height */
}

.slideshow-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--warm-platinum);
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slideshow-image.active {
    opacity: 1;
}

/* --- Contact Section --- */
#contact-form {
    max-width: 700px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 15px;
    font-family: var(--font-family);
    font-size: 1rem;
    background-color: var(--dark-grey);
    border: 1px solid #333;
    border-radius: 5px;
    color: var(--white);
    transition: border-color 0.3s ease;
}

#contact-form input:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: var(--warm-platinum);
}

/* --- Footer --- */
footer {
    background-color: var(--dark-grey);
    text-align: center;
    padding: 20px 5%;
    border-top: 1px solid #222;
    font-size: 0.9rem;
    color: rgba(245, 245, 245, 0.5);
}

/* --- Animations --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .nav-links { display: none; } /* Basic mobile hiding - a full hamburger menu needs JS */
    .about-container { flex-direction: column; }
    .hamburger {
        display: block;
        cursor: pointer;
    }
    .hamburger .line {
        width: 30px;
        height: 3px;
        background-color: var(--white);
        margin: 6px 0;
    }

}

.hamburger {
    display: none;
}