:root {
    --primary: #007AFF; 
    --dark: #121212;
    --light: #ffffff;
    --gray: #f4f4f4;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; line-height: 1.6; color: var(--dark); scroll-behavior: smooth; overflow-x: hidden;}

/* Nav */
nav { display: flex; justify-content: space-between; padding: 20px 10%; align-items: center; position: sticky; top: 0; background: white; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.logo { font-weight: 700; font-size: 1.5rem; }
.logo span { color: var(--primary); }
nav ul { display: flex; list-style: none; }
nav ul li { margin-left: 20px; }
nav a { text-decoration: none; color: var(--dark); font-weight: 500; }
.active { color: var(--primary) !important; font-weight: 700; }

/* Ensures the logo looks the same even if it's a link */
.logo a {
    text-decoration: none;
    color: inherit;
    font-weight: 700; /* Forces the bold look */
    display: inline-block;
}

.nav-logo {
    height: 40px; /* Adjust this number to fit your nav bar */
    width: auto;  /* Keeps the proportions correct */
    display: block;
}

/* Ensure the logo container doesn't add weird padding */
.logo a {
    display: flex;
    align-items: center;
}

/* Specific styling for the span inside the logo */
.logo span {
    color: var(--primary);
    font-weight: 700; /* Ensures the 'Portraits' part is also bold */
}

/* This keeps the icon and text together */
.logo-wrapper a {
    display: flex;
    align-items: center;
    gap: 12px; /* This controls the distance between icon and text */
    text-decoration: none;
}

.nav-icon {
    height: 30px; /* Adjust based on your icon size */
    width: auto;
}

.logo-text {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dark);
}

.logo-text span {
    color: var(--primary);
}

/* Ensure the main nav still pushes the links to the right */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
}

/* Mobile Menu Styling */
.menu-toggle {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    transition: 0.3s;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex; /* Show hamburger on mobile */
        z-index: 1001;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%; /* Hidden off-screen */
        width: 70%;
        height: 100vh;
        background: white;
        padding: 100px 40px;
        transition: 0.4s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        right: 0; /* Slide in when active */
    }

    .nav-links li {
        margin: 20px 0;
    }

    /* Animate Hamburger to 'X' when active */
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* Hero */
.hero { 
    height: 80vh; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
    color: white; 
    padding: 0 20px;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.2)), url('images/hero-bg.jpg'); 
    background-size: cover;
    background-position: center;
}

.hero h1 { 
    font-size: 3.5rem; 
    margin-bottom: 15px; /* Added a tiny bit more space under the title */
}

/* This targets the text between the Title and the Button */
.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 10px; /* Space between text and button */
}

.highlight { color: var(--primary); }

/* Buttons */
.btn-main { 
    background: var(--primary); 
    color: white; 
    padding: 15px 30px; 
    border-radius: 5px; 
    text-decoration: none; 
    display: inline-block; 
    margin-top: 40px;      /* <--- THIS SHIFTS THE BUTTON DOWN */
    border: none; 
    cursor: pointer; 
    font-size: 1rem; 
    transition: 0.3s; 
}

.btn-outline { 
    padding: 12px 25px; 
    border: 2px solid var(--dark); 
    color: var(--dark); 
    text-decoration: none; 
    font-weight: 600; 
    transition: 0.3s; 
    border-radius: 5px; 
    display: inline-block; 
}
.btn-outline:hover { background: var(--dark); color: white; }
/* Section Styling */
.section { padding: 80px 10%; text-align: center; }
.gray-bg { background: var(--gray); }
h2 { font-size: 2.5rem; margin-bottom: 40px; }

/* Galleries */
.gallery-mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Exactly 3 columns as requested */
    gap: 15px;
    margin-bottom: 40px;
}

.gallery-full {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.img-card {
    aspect-ratio: 1 / 1; 
    overflow: hidden;
    cursor: pointer;
    border-radius: 8px;
}

.img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

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

/* Pricing */
.pricing-container { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.price-card { background: white; padding: 40px; border-radius: 12px; width: 300px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); position: relative; }
.price-card.featured { border: 2px solid var(--primary); transform: scale(1.05); }
.price { font-size: 3rem; font-weight: 700; margin: 20px 0; }
.badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--primary); color: white; padding: 5px 15px; border-radius: 20px; font-size: 0.8rem; }
.price-card ul { list-style: none; margin-bottom: 20px; text-align: left; }

/* Form */
#contact-form { max-width: 500px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; }
input, select { padding: 12px; border: 1px solid #ccc; border-radius: 5px; }

/* Lightbox */
.lightbox {
    display: none; 
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}
.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 4px;
    animation: zoom 0.3s ease;
}
@keyframes zoom { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.close { position: absolute; top: 20px; right: 40px; color: white; font-size: 40px; cursor: pointer; }

/* Responsive */
@media (max-width: 768px) {
    .gallery-mini { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.2rem; }
    nav ul { display: none; } /* Consider a burger menu for real use */
}


/* Enhanced Form Styling */
#contact-form { 
    max-width: 500px; 
    margin: 0 auto; 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
}

/* Added font-family: inherit to make sure it matches the 'Inter' font */
input, select, textarea { 
    padding: 12px; 
    border: 1px solid #ccc; 
    border-radius: 5px; 
    font-family: inherit; /* This makes it match your body font */
    font-size: 1rem;
    width: 100%;
}

textarea {
    resize: vertical; /* Allows users to expand the box downward but not sideways */
    min-height: 120px;
}

/* Improve the look of the select dropdown */
select {
    background-color: white;
    cursor: pointer;
}

/* Button loading state */
#submit-btn:disabled {
    background-color: #a0cfff;
    cursor: not-allowed;
    opacity: 0.8;
}

/* Success Message Styling */
#success-msg {
    padding: 40px 20px;
    text-align: center;
    animation: fadeIn 0.5s ease forwards;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: #4BB543;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
