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

body {
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
    color: #333;
}

h1, h2 {
    font-family: 'Playfair Display', serif;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
}

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

.nav-links > a,
.dropdown-trigger {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links > a:hover,
.dropdown-trigger:hover {
    color: #666;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: 0.5rem 0;
    z-index: 1001;
}

.dropdown-content a {
    color: #333;
    padding: 0.5rem 1rem;
    text-decoration: none;
    display: block;
    margin: 0 !important;
    text-align: left;
}

.dropdown-content a:hover {
    background: #f9f9f9;
}

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

/* Hero Section */
.hero {
    height: 60vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-slideshow img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slideshow img.active {
    opacity: 1;
}

.hero-content h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    animation: fadeIn 2s ease;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.5rem;
    font-weight: 300;
    animation: fadeIn 2s ease 0.5s backwards;
}

/* Portfolio Section */
.portfolio {
    padding: 5rem 5%;
    text-align: center;
}

.portfolio h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

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

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

/* About Section */
.about {
    padding: 5rem 5%;
    background: #f9f9f9;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

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

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-text {
    text-align: left;
}

.about-text h2 {
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

/* Make it responsive */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text {
        text-align: center;
    }
}

/* Footer */
footer {
    padding: 3rem 5%;
    background: #333;
    color: white;
    text-align: center;
}

.social-links {
    margin-bottom: 1.5rem;
}

.social-links a {
    color: white;
    font-size: 1.8rem;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #ddd;
}

.email-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: #ddd;
}

footer p {
    margin-bottom: 1rem;
}

footer p:last-child {
    margin-bottom: 0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    
    .nav-links {
        display: none;
    }
    
    .gallery {
        grid-template-columns: 1fr;
    }
}

/* Gallery Page Styles */
.gallery-page {
    padding-top: 100px; /* Account for fixed navbar */
    min-height: calc(100vh - 300px); /* Ensure footer stays at bottom */
    background: #f9f9f9;
}

.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 5%;
}

.gallery-container h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    font-family: 'Playfair Display', serif;
}

.gallery-frame {
    background: white;
    padding: 1rem;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gallery-container h1 {
        font-size: 2rem;
    }
    
    .gallery-frame {
        padding: 0.5rem;
    }
}

.logo a {
    text-decoration: none;
    color: inherit;
}

.logo a:hover {
    color: #666;
}

/* Gallery Instructions */
.instructions-container {
    margin-top: 3rem;
    text-align: center;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.instructions-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Adjust spacing for smaller screens */
@media (max-width: 768px) {
    .instructions-container {
        margin-top: 2rem;
    }
}

/* Credits in footer */
.credits {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.credits-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.credits-link:hover {
    color: #ddd;
} 