/* Main Styles for EternaLens Photography */

/* General Styles */
body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    font-family: 'Dancing Script', cursive !important;
    font-size: 2.5rem;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: #343a40;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Header and Navigation */
.navbar-brand {
    font-family: 'Dancing Script', cursive, 'Playfair Display', serif !important;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 1.6rem;
}

/* Cursive Heading */
.display-4 {
    font-family: 'Dancing Script', cursive !important;
    font-size: 3.2rem;
}

/* Hero Section */
.hero-image {
    height: 500px;
    background-image: url('https://source.unsplash.com/random/800x500/?photography');
    background-size: cover;
    background-position: center;
}

/* About Page */
.photographer-image {
    height: 200px;
    width: 200px;
    background-image: url('https://source.unsplash.com/random/200x200/?portrait');
    background-size: cover;
    background-position: center;
    margin: 0 auto;
}

.photographer-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    margin: 0 auto;
}

/* Gallery Page */
.gallery-image-container {
    overflow: hidden;
    position: relative;
    height: 250px;
    border-radius: 4px 4px 0 0;
}

.gallery-image {
    transition: transform 0.3s ease, opacity 0.3s ease;
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-item {
    transition: box-shadow 0.3s ease;
    margin-bottom: 30px;
}

.gallery-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-placeholder {
    background-color: #f5f5f5;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#gallery-filter {
    margin-bottom: 40px;
}

#gallery-filter .nav-link {
    cursor: pointer;
    color: #343a40;
    margin: 0 5px;
    border-radius: 50px;
    padding: 8px 20px;
    transition: all 0.3s ease;
}

#gallery-filter .nav-link:hover {
    background-color: rgba(52, 58, 64, 0.1);
}

#gallery-filter .nav-link.active {
    background-color: #343a40;
    color: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Footer */
footer {
    margin-top: 2rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-image {
        height: 300px;
        margin-top: 2rem;
    }
}
