/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --accent-color: #3498db;
    --text-color: #333;
    --light-gray: #f4f4f4;
    --border-color: #ddd;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}


body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

/* Navigation */
.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: .5rem 0 .2rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center; /* Change from baseline to center */
    gap: 1rem;
}

/* .logo img { */
/*     /\* font-size: 1.5rem; *\/ */
/*     /\* font-weight: 700; *\/ */
/*     /\* color: var(--primary-color); *\/ */
/*     /\* text-decoration: none; *\/ */
/*     height: 40px; */
/*     width: auto; */
/*     display: block; */
/* } */
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.logo-image {
    display: flex;
    align-items: center;
}

.logo-image img {
    height: 60px; /* Adjust to your logo size */
    width: auto;
    display: block;
}

.photographer-name {
    font-size: 0.9rem;
    color: #666;
    font-weight: 400;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link.instagram {
    display: flex;
    align-items: center;
}

.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: var(--white);
    min-width: 160px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 4px;
    z-index: 1000;
    top: 100%;
    left: 0;
}

.dropdown-content.show {
    display: block;
}

.dropdown-content a {
    color: var(--text-color);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-weight: 500;
}

.dropdown-content a:hover {
    background: var(--light-gray);
}

/* Keep hover for desktop */
@media (min-width: 769px) {
    .nav-dropdown:hover .dropdown-content {
        display: block;
    }
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@300;400&display=swap');

.hero-title {
    font-weight: 300;
}
/* Hero Section */
.hero {
    text-align: center;
    margin: 1rem 2rem 0rem 2rem
    /* background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%); */
}

.hero-title {
    font-size: 2rem;
    font-weight: 300;
    color: var(--primary-color);
}

/* Gallery Grid */
.gallery-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    /* border-radius: 8px; */
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s; /* Change from transform to filter */
}

.gallery-item:hover img {
    filter: brightness(1.15); /* 1.15 = 15% brighter */
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.gallery-overlay p {
    font-size: 0.9rem;
    text-transform: capitalize;
    opacity: 0.9;
}

/* Portfolio Page */
.portfolio-header {
    text-align: center;
    padding: 3rem 2rem 2rem;
    background: var(--light-gray);
}

.portfolio-header h1 {
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--primary-color);
}

.portfolio-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1rem;
}

.portfolio-item {
    cursor: pointer;
    transition: transform 0.3s;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-image {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    /* border-radius: 8px; */
}

.portfolio-info {
    padding: 1rem 0;
}

.portfolio-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.portfolio-info p {
    font-size: 0.95rem;
    color: #666;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
}

/* About Page */
.about-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 2rem;
}

.about-section {
    margin-bottom: 0rem;
}

.about-section h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 3.2fr;
    gap: 3rem;
    align-items: start;
}

.about-text p {
    margin-bottom: 1.2rem;
    font-size: 1rem;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    /* border-radius: 8px; */
}

.askooru-image img {
    width: 100%;
    margin: 1.5rem 0 2rem 0;
}

.background-section {
    margin-top: 1rem;
}

.background-section h2,
.story-section h2,
.philosophy-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.background-content p,
.story-content p,
.philosophy-content p {
    margin-bottom: 1.2rem;
    font-size: 1rem;
    line-height: 1.8;
}

.philosophy-content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid var(--accent-color);
    background: var(--light-gray);
    font-style: italic;
}

.philosophy-content blockquote p {
    margin-bottom: 0;
}

.contact-section {
    background: var(--light-gray);
    padding: 3rem;
    /* border-radius: 8px; */
}

.contact-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-intro {
    margin-bottom: 2rem;
    font-size: 1rem;
}

.contact-form {
    max-width: 600px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

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

.btn-submit {
    background: var(--accent-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #2980b9;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

.footer-container p {
    margin: 0.5rem 0;
}

/* No Photos Message */
.no-photos {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 160px;
    }
    .nav-container {
        flex-direction: column;
        /* gap: 1rem; */
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }
    .about-image img {
        width: 100%;
        max-width: 400px; /* Constrain it */
        margin: 1.5rem auto 2rem auto; /* Center it */
        display: block;

    }

    .askooru-image img {
        width: 100%;
        margin: 1.5rem 0 2rem 0;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-section {
        padding: 2rem;
    }
}
