/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--primary-color);
}

h1, h2, h3 {
    font-family: 'Crimson Text', serif;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Variables */
:root {
    --primary-color: #ffffff; /* White background */
    --secondary-color: #000000; /* Black text */
    --accent-color: #333333; /* Dark gray accents */
    --text-color: #000000; /* Black text */
    --light-text: #666666; /* Light gray */
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid #e0e0e0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu a {
    color: var(--text-color);
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.nav-menu.active li {
    margin: 0.5rem 0;
    text-align: center;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: url('https://via.placeholder.com/1920x1080?text=Photography+Background');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-color);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
    transition: all 0.3s ease;
    font-weight: 600;
}

.cta-button:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-color);
}

/* Portfolio Section */
.portfolio h1 {
    text-align: center;
    margin-bottom: 2rem;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: 2px solid var(--accent-color);
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-color);
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.overlay h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: var(--secondary-color);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--accent-color);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h2 {
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 1.5rem;
}

.pricing {
    margin-bottom: 1.5rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
}

.unit {
    font-size: 0.9rem;
    color: var(--light-text);
}

.booking-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transition: background-color 0.3s ease;
}

.booking-btn:hover {
    background-color: var(--light-text);
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
}

input, textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: var(--primary-color);
    color: var(--text-color);
}

.submit-btn {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item h3 {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.social-media {
    margin-top: 1rem;
}

.social-icon {
    display: inline-block;
    margin-right: 1rem;
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: var(--secondary-color);
}

.map-placeholder {
    text-align: center;
}

.map {
    height: 300px;
    background-color: var(--primary-color);
    border: 2px solid var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
}

/* Footer */
footer {
    background-color: #f8f8f8;
    color: var(--text-color);
    text-align: center;
    padding: 1rem;
    border-top: 1px solid #e0e0e0;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 4rem 1rem;
    }

    .hero-content {
        text-align: center;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .section {
        padding: 3rem 1rem;
    }

    .container {
        max-width: 100%;
        padding: 0 1rem;
    }

    .portfolio-filters {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .lightbox {
        padding: 1rem;
    }

    .lightbox-content {
        max-width: 95vw;
        max-height: 95vh;
    }

    .close {
        font-size: 2rem;
        top: 0.5rem;
        right: 0.5rem;
    }

    .contact-form,
    .contact-info {
        padding: 1.5rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 1rem;
    }

    .submit-btn {
        padding: 0.75rem 2rem;
        font-size: 1rem;
        min-height: 44px; /* Touch-friendly */
    }

    footer {
        padding: 1.5rem 1rem;
        text-align: center;
    }

    /* Touch-friendly buttons */
    .btn, .filter-btn, .submit-btn {
        min-height: 44px;
        min-width: 44px;
    }

    /* Improve touch targets */
    .social-icon {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .hero {
        padding: 3rem 1rem;
    }

    .section {
        padding: 2rem 1rem;
    }

    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }

    .portfolio-item img {
        height: 200px;
    }

    .lightbox-content img {
        max-width: 90vw;
        max-height: 70vh;
    }

    .contact-content {
        flex-direction: column;
    }

    .contact-form,
    .contact-info {
        width: 100%;
        padding: 1rem;
    }

    .info-item {
        margin-bottom: 1.5rem;
    }

    .social-media {
        text-align: center;
    }

    .social-icon {
        display: inline-block;
        margin: 0.5rem;
        padding: 0.5rem 1rem;
    }

    .hamburger {
        width: 30px;
        height: 25px;
    }

    .bar {
        width: 100%;
        height: 3px;
    }

    /* Ensure touch targets are adequate */
    .hamburger, .close, .lightbox-nav {
        min-width: 44px;
        min-height: 44px;
    }
}