/* --- Global Styles & Variables --- */
:root {
    /* --- Light Mode Color Scheme --- */
    --bg-light: #FFFFFF;
    --text-dark: #333333;
    --accent-gold: #c5a47e;
    --card-bg-light: #f9f9f9;
    --border-light: #dddddd;

    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: var(--font-body);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Navigation Bar --- */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 20px 0;
    z-index: 1000;
    transition: background-color 0.3s ease, padding 0.3s ease;
}

/* --- Set initial navbar text color to white --- */
.navbar .logo,
.navbar .nav-menu a,
.navbar .social-icons a,
.navbar .hamburger {
    color: #FFFFFF;
    transition: color 0.3s ease; /* Adds a smooth color transition */
}

/* --- Change text color when navbar is scrolled --- */
.navbar.scrolled .logo,
.navbar.scrolled .nav-menu a,
.navbar.scrolled .social-icons a,
.navbar.scrolled .hamburger {
    color: var(--text-dark);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: 2px;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    margin: 0 20px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--accent-gold);
}

.social-icons a {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-left: 20px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--accent-gold);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Hero Section --- */
#hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white; /* Kept white for contrast against dark image overlay */
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('./assets/img/main.png') no-repeat center center/cover;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 6rem;
    font-weight: 700;
    letter-spacing: 5px;
}

.hero-content p {
    font-size: 1.5rem;
    letter-spacing: 8px;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-gold);
    color: #FFFFFF; /* White text on gold button for high contrast */
    padding: 12px 30px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    border: 2px solid var(--accent-gold);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
    background-color: transparent;
    color: var(--accent-gold);
}

/* --- General Section Styles --- */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.8rem;
    margin-bottom: 50px;
    color: var(--accent-gold);
}

/* --- About Section --- */
.two-column {
    display: flex;
    align-items: center;
    gap: 50px;
}

.column-image { flex: 1; }
.column-image img { width: 100%; height: auto; display: block; }
.column-text { flex: 1; }
.column-text h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--accent-gold);
}
.column-text p {
    text-align: justify;
    margin-bottom: 1.2rem; /* Adds spacing between paragraphs */
}
.column-text p:last-child {
    margin-bottom: 0; /* Removes margin from the last paragraph */
}
/* --- Services Section --- */
#services {
    background-color: var(--card-bg-light); /* Light grey background for this section */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: center;
}

.service-card {
    background-color: var(--bg-light); /* White cards */
    padding: 40px;
    border-radius: 5px;
    border: 1px solid var(--border-light);
}

.service-card i {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

/* --- Portfolio Section --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.portfolio-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.portfolio-grid img:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

/* --- New Portfolio Section Layout --- */
.new-portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 20px;
    height: 700px; /* Adjust height as needed */
}

.horizontal-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.portfolio-item {
    position: relative;
    display: block;
    overflow: hidden;
    height: 100%;
    border-radius: 5px;
}

.portfolio-item.horizontal {
    flex: 1; /* Make horizontal items share space */
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    padding: 40px 20px 20px;
    transition: opacity 0.4s ease;
}

.portfolio-overlay h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .new-portfolio-grid {
        grid-template-columns: 1fr; /* Stack on mobile */
        height: auto;
    }
}

/* --- Contact Section --- */
.contact-wrapper {
    display: flex;
    gap: 50px;
    margin-top: 30px;
}

.contact-details,
.contact-form {
    flex: 1;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    background-color: #FFFFFF;
    border: 1px solid var(--border-light);
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999;
}

.contact-form button {
    align-self: center;
    cursor: pointer;
}
.contact-details h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.contact-details p {
    margin-bottom: 30px;
    color: #666;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-item i {
    color: var(--accent-gold);
    font-size: 1.5rem;
    margin-right: 20px;
    width: 25px;
}

/* --- Form Status Message Style --- */
#form-status {
    text-align: center;
    margin-top: 20px;
    font-size: 1.2rem;
    color: var(--accent-gold);
}

/* --- Footer --- */
footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-light);
    background-color: var(--card-bg-light);
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

footer p {
    color: #666;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 4rem; }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        /* ADD THIS LINE 👇 */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: var(--bg-light);
        width: 100%;
        height: 100vh;
        transition: left 0.3s ease;
    }
    .nav-menu.active { left: 0; }
    .nav-menu a { margin: 20px 0; font-size: 1.2rem; }
    .hamburger { display: block; z-index: 1001;}
    .social-icons { display: none; }
    footer .social-icons { display: flex; }
}
@media (max-width: 768px) {
    .hero-content h1 { font-size: 3rem; }
    .hero-content p { font-size: 1rem; }
    .two-column { flex-direction: column; }
    footer .container { flex-direction: column; text-align: center; }
}

@media (max-width: 992px) {
    .contact-wrapper {
        flex-direction: column;
    }
}