/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    align-items: center;
    margin-left: 10rem;
    
}

.nav {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

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

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

.portfolio-dropdown {
    position: relative;
}

.portfolio-dropdown-content {
    display: none;
    position: absolute;
    background: white;
    min-width: 160px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
    border-radius: 4px;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.portfolio-dropdown:hover .portfolio-dropdown-content {
    display: flex;
    flex-direction: column;
}

.portfolio-dropdown-content a {
    padding: 0.5rem 1rem;
    white-space: nowrap;
}

.portfolio-dropdown-content a:hover {
    background: var(--accent-color);
    color: white;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-container {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-container.active {
        display: block;
    }

    .nav {
        flex-direction: column;
        gap: 1rem;
    }

    .portfolio-dropdown-content {
        position: static;
        transform: none;
        box-shadow: none;
        background: #f5f5f5;
        margin-top: 0.5rem;
    }

    .portfolio-dropdown:hover .portfolio-dropdown-content {
        display: none;
    }

    .portfolio-dropdown.active .portfolio-dropdown-content {
        display: flex;
    }

    /* Hamburger menu animation */
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

:root {
    --primary-color: #2c3e50;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --transition: all 0.3s ease;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--light-bg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

header {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    margin-left: 2rem;
}

.nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    margin-right: 2rem;
}

.nav li {
    margin: 0 1.5rem;
    position: relative;
}

.nav li a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
}

.nav li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

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

.nav li a:hover:after {
    width: 100%;
}

.portfolio-dropdown {
    position: relative;
}

.portfolio-dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: 0.5rem 0;
    z-index: 1;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.portfolio-dropdown:hover .portfolio-dropdown-content {
    display: block;
}

.portfolio-dropdown-content a {
    color: var(--text-color);
    padding: 0.7rem 1rem;
    display: block;
    text-align: center;
    transition: var(--transition);
}

.portfolio-dropdown-content a:hover {
    background-color: var(--light-bg);
    color: var(--accent-color);
}

main {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

#image-container {
    text-align: center;
}

img {
    max-width: 100%;
    height: auto;
}

.background {
    height: 100vh;
    background-position: center;
    transition: background-image 0.5s ease;
}

.content {
    text-align: center;
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 80px);
    width: 100%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    padding: 2rem 0;
}

.slideshow-container {
    width: 100%;
    height: calc(100vh - 80px);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    background-color: transparent;
}

#image-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    box-sizing: border-box;
    background: white;
}

#image-container img {
    max-width: 98%;
    max-height: 98%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: opacity 0.5s ease-in-out;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.overlay {
    display: none;
}

.slide-caption {
    text-align: center;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin: 2rem 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    font-style: italic;
}

.hero-title {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    text-align: center;
    z-index: 2;
}

/* Category Showcase Styles */
.category-showcase {
    padding: 6rem 2rem;
    background-color: var(--light-bg);
}

.showcase-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
}

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

.showcase-item {
    position:relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    /* transition: transform 0.3s ease; */
    aspect-ratio: 3/4;
    text-decoration: none;
}

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

/* Default styles for showcase images */
.showcase-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image fills the container */
    display: block;
    transition: transform 0.3s ease;
}

.showcase-item:hover .showcase-image {
    transform: scale(1.05);
}

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 2rem;
    color: white;
    transform: translateY(20%);
    transition: transform 0.3s ease;
    flex-direction: column;
}

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

.showcase-overlay h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
}

.showcase-overlay p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.9;
}

/* Slideshow Controls */
.slideshow-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 2;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

.dots-container {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: white;
}

@media (max-width: 768px) {
    .category-showcase {
        padding: 4rem 1rem;
    }

    .showcase-title {
        font-size: 2rem;
    }

    .showcase-grid {
        grid-template-columns: 1fr; /* Display one item per row */
        justify-items: center; /* Center the grid items */
    }

    .showcase-item {
        
        margin: 0 auto; /* Center the items */
        aspect-ratio: 3/4;
    }

    .showcase-image {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Ensures the image fills the container */
    }

    .gallery-container {
        padding: 2rem 1rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .photo-grid {
        grid-template-columns: 1fr;
    }

    .gallery-image {
        height: 300px;
    }
}

/* Pricing Styles */
.pricing-container {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    margin-top: 80px;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 0.5rem;
}

.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.pricing-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.pricing-card.popular {
    border: 2px solid var(--accent-color);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.pricing-card h2 {
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    color: var(--accent-color);
    font-weight: bold;
    margin-bottom: 2rem;
}

.features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
    color: #666;
}

.features li:last-child {
    border-bottom: none;
}

.book-btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-weight: 500;
}

.book-btn:hover {
    background: var(--accent-color);
}

.portrait-images {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.portrait-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.portrait-img:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .pricing-container {
        padding: 2rem 1rem;
    }

    .page-title {
        font-size: 2.5rem;
    }

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

/* Contact Styles */
.contact-container {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    margin-top: 80px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

/* Form Styles */
.contact-form-container {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.submit-btn {
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: var(--accent-color);
}

/* Contact Info Styles */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
}

.info-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.info-card h3 {
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
}

.map-container iframe {
    border: 0;
}

.map-container {
    margin-top: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

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

.messages {
    margin-bottom: 2rem;
}

.message {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 5px;
    text-align: center;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.errorlist {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 0.25rem;
    list-style: none;
    padding: 0;
}

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-container {
        padding: 2rem 1rem;
    }
}

/* Portfolio Styles */
.portfolio-container {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    margin-top: 80px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.category-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 3/4;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

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

.category-card:hover .category-overlay {
    transform: translateY(0);
}

.category-overlay h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin: 0 0 0.5rem 0;
}

.category-overlay p {
    margin: 0 0 1rem 0;
    opacity: 0.9;
}

.explore-btn {
    display: inline-block;
    padding: 0.5rem 0;
    color: white;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.category-card:hover .explore-btn {
    transform: translateX(10px);
}

@media (max-width: 768px) {
    .portfolio-container {
        padding: 2rem 1rem;
    }

    .category-grid {
        gap: 1.5rem;
    }

    .category-overlay h2 {
        font-size: 1.8rem;
    }
}

/* Gallery Styles */
.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
    margin-top: 80px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-description {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.gallery-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.photo-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.photo-item:hover .photo-title {
    transform: translateY(0);
}

.no-photos {
    text-align: center;
    grid-column: 1 / -1;
    color: #666;
    font-size: 1.2rem;
    padding: 2rem;
}

/* About Page Styles */
.about-container {
    padding: 2rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(to bottom, rgba(255,255,255,0.9), rgba(255,255,255,0.7));
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.page-title {
    margin-bottom: 1.5rem;
    margin-top: 0rem;
}

.intro-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(44, 62, 80, 0.1);
}

.intro-section .intro {
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 500;
    line-height: 1.6;
    font-style: italic;
    text-align: center;
    hyphens: none;
    max-width: 800px;
    margin: 0 auto;
}

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

.about-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    margin-top: 5rem;
}

.profile-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

.about-image:hover .image-overlay {
    transform: translateY(0);
}

.about-image:hover .profile-image {
    transform: scale(1.05);
}

.overlay-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin: 0 0 0.5rem 0;
}

.overlay-content p {
    margin: 0;
    font-size: 1.1rem;
    opacity: 0.9;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: left;
}

.bio-section {
    margin-bottom: 3rem;
}

.bio-section .bio {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: left;
    hyphens: none;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .intro-section .intro {
        font-size: 1.2rem;
    }
}
