/* Service Page Hero Backgrounds */

/* Eternal Vows (Wedding Photography) */
.eternal-vows-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/wedding-photography/cinematic-wedding-photography.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Culinary Visions (Food & Restaurant Photography) */
.culinary-visions-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/restaurant-food-photography-chicago/restaurant-branding-photo-pizza.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Art of Her (Women Portraits) */
.art-of-her-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/women-portrait-photography-chicago/women-portrait-therapy-session-boudoir.jpg?v=6');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Brand & Business Visuals */
.brand-business-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/branding-content-creation-photography/branding-photography.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Service Hero Common Styles */
.service-hero {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.service-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 300;
    font-family: 'Dancing Script', cursive;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.service-hero-content p {
    font-size: 1.2rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 2rem;
    letter-spacing: 0.5px;
}

/* Service Description Section */
.service-description {
    padding: 3rem 0;
    background: #fafafa;
}

.service-description .container {
    max-width: 1200px;
    text-align: left;
}

.service-description h2 {
    font-size: 2rem;
    font-weight: 300;
    font-family: 'Dancing Script', cursive;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    letter-spacing: 1px;
}

.service-description p {
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #666;
    margin-bottom: 1.5rem;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

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

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

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

.gallery-overlay h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    background: #1a1a1a;
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.cta-section p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .eternal-vows-hero,
    .culinary-visions-hero,
    .art-of-her-hero,
    .brand-business-hero {
        background-attachment: scroll;
    }
    
    /* Art of Her mobile hero - image takes full block */
    .art-of-her-hero {
        background-size: cover !important;
        background-position: center 30% !important;
        background-repeat: no-repeat !important;
        background-attachment: scroll !important;
    }
    
    /* Override any inline styles for mobile */
    .art-of-her-hero[style*="background-size: contain"],
    .art-of-her-hero[style*="background-size: cover"] {
        background-size: cover !important;
        background-position: center 30% !important;
    }
    
    /* Force override for all inline styles */
    .art-of-her-hero[style] {
        background-size: cover !important;
        background-position: center 30% !important;
        background-repeat: no-repeat !important;
        background-attachment: scroll !important;
    }
    
    .service-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .service-hero-content p {
        font-size: 1.1rem;
    }
    
    .service-description h2 {
        font-size: 1.8rem;
    }
    
    .service-description p {
        font-size: 0.95rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Smaller mobile devices */
@media (max-width: 480px) {
    .art-of-her-hero {
        background-size: cover !important;
        background-position: center 30% !important;
        background-repeat: no-repeat !important;
        background-attachment: scroll !important;
        min-height: 100vh !important;
    }
    
    /* Force override for all inline styles on small mobile */
    .art-of-her-hero[style] {
        background-size: cover !important;
        background-position: center 30% !important;
        background-repeat: no-repeat !important;
        background-attachment: scroll !important;
        min-height: 100vh !important;
    }
    
    .service-hero-content h1 {
        font-size: 2rem;
    }
    
    .service-hero-content p {
        font-size: 1rem;
    }
}

/* Portfolio Gallery Styles */

/* Common Gallery Section */
.portfolio-gallery {
    padding: 5rem 0;
    background: #fff;
}

.portfolio-gallery .container {
    max-width: 1200px;
}



/* Women's Gallery - Full Width Grid */
.gallery-fullwidth {
    margin-top: 2rem;
}

.gallery-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.gallery-item-large {
    flex: 2;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item-medium {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item-large:hover,
.gallery-item-medium:hover {
    transform: translateY(-8px);
}

.gallery-item-large img,
.gallery-item-large .placeholder-image,
.gallery-item-medium img,
.gallery-item-medium .placeholder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item-large:hover img,
.gallery-item-medium:hover img {
    transform: scale(1.08);
}





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

.gallery-item-large:hover .image-overlay,
.gallery-item-medium:hover .image-overlay {
    transform: translateY(0);
}

.image-overlay h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.image-overlay p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

/* Mobile Responsive for New Galleries */
@media (max-width: 768px) {
    /* Full Width Gallery */
    .gallery-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .gallery-item-large,
    .gallery-item-medium {
        flex: none;
    }
    
    .gallery-item-large .placeholder-image,
    .gallery-item-medium .placeholder-image {
        height: 300px !important;
    }
    
    /* Gallery Titles */
    .gallery-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}

/* Gallery Titles */
.gallery-title {
    font-size: 2.5rem;
    font-weight: 400;
    font-family: 'Dancing Script', cursive;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 2px;
}

/* Business Gallery Spacing */
.business-gallery {
    margin-bottom: 4rem;
}

.business-gallery:last-child {
    margin-bottom: 0;
}

/* Business Galleries Grid Layout */
.business-galleries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.business-gallery-preview {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.business-gallery-preview:hover {
    transform: translateY(-8px);
}

.gallery-preview-image {
    position: relative;
    overflow: hidden;
    height: 400px;
}

.gallery-preview-image .placeholder-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-preview-image img {
    width: 100% !important;
    height: 400px !important;
    object-fit: cover !important;
    transition: transform 0.3s ease;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.business-gallery-preview:hover .placeholder-image,
.business-gallery-preview:hover .gallery-preview-image img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 10;
}

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

.gallery-overlay h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.gallery-overlay p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.gallery-overlay .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: #1a1a1a;
    border: none;
    transition: all 0.3s ease;
}

.gallery-overlay .btn:hover {
    background: white;
    transform: translateY(-2px);
}

/* Mobile Responsive for Business Galleries */
@media (max-width: 768px) {
    .business-galleries-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-preview-image {
        height: 300px;
    }
    
    .gallery-preview-image .placeholder-image,
    .gallery-preview-image img {
        height: 300px;
    }
    
    .gallery-overlay {
        transform: translateY(0);
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    }
    
    .gallery-overlay h3 {
        font-size: 1.5rem;
    }
}

/* Gallery Header */
.gallery-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/branding-content-creation-photography/spring-studio-pilates/gallery-header.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 120px 0 60px;
}

.gallery-header h1 {
    font-size: 3.5rem;
    font-weight: 300;
    font-family: 'Dancing Script', cursive;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.gallery-header p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.gallery-header .btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.gallery-header .btn:hover {
    background: white;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .gallery-header h1 {
        font-size: 2.5rem;
    }
    
    .gallery-header p {
        font-size: 1rem;
    }
}

/* Gallery Collage Layout */
.gallery-collage {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 200px;
    gap: 1rem;
    margin-top: 3rem;
}

.collage-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.collage-item:hover {
    transform: translateY(-8px);
}

.collage-item .placeholder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.collage-item:hover .placeholder-image {
    transform: scale(1.08);
}

/* Collage Item Sizes */
.collage-item.small {
    grid-column: span 3;
    grid-row: span 2;
}

.collage-item.medium {
    grid-column: span 4;
    grid-row: span 3;
}

.collage-item.large {
    grid-column: span 6;
    grid-row: span 4;
}

.collage-item.xlarge {
    grid-column: span 8;
    grid-row: span 5;
}

/* Specific Layout Positions for Visual Interest */
.collage-item:nth-child(1) {
    grid-column: 1 / 7;
    grid-row: 1 / 5;
}

.collage-item:nth-child(2) {
    grid-column: 7 / 11;
    grid-row: 1 / 4;
}

.collage-item:nth-child(3) {
    grid-column: 11 / 13;
    grid-row: 1 / 3;
}

.collage-item:nth-child(4) {
    grid-column: 11 / 13;
    grid-row: 3 / 5;
}

.collage-item:nth-child(5) {
    grid-column: 7 / 11;
    grid-row: 4 / 7;
}

.collage-item:nth-child(6) {
    grid-column: 1 / 9;
    grid-row: 5 / 10;
}

.collage-item:nth-child(7) {
    grid-column: 9 / 13;
    grid-row: 5 / 8;
}

.collage-item:nth-child(8) {
    grid-column: 9 / 13;
    grid-row: 8 / 11;
}

.collage-item:nth-child(9) {
    grid-column: 1 / 4;
    grid-row: 10 / 12;
}

.collage-item:nth-child(10) {
    grid-column: 4 / 7;
    grid-row: 10 / 12;
}

.collage-item:nth-child(11) {
    grid-column: 7 / 13;
    grid-row: 11 / 15;
}

.collage-item:nth-child(12) {
    grid-column: 1 / 4;
    grid-row: 12 / 14;
}

.collage-item:nth-child(13) {
    grid-column: 4 / 7;
    grid-row: 12 / 14;
}

/* Mobile Responsive for Collage */
@media (max-width: 768px) {
    .gallery-collage {
        grid-template-columns: repeat(6, 1fr);
        gap: 0.5rem;
    }
    
    .collage-item.small {
        grid-column: span 3;
        grid-row: span 2;
    }
    
    .collage-item.medium {
        grid-column: span 6;
        grid-row: span 3;
    }
    
    .collage-item.large {
        grid-column: span 6;
        grid-row: span 4;
    }
    
    .collage-item.xlarge {
        grid-column: span 6;
        grid-row: span 5;
    }
    
    /* Reset specific positions for mobile */
    .collage-item:nth-child(n) {
        grid-column: span 6;
        grid-row: span 3;
    }
    
    .collage-item:nth-child(1),
    .collage-item:nth-child(6),
    .collage-item:nth-child(11) {
        grid-row: span 4;
    }
    
    .collage-item:nth-child(9),
    .collage-item:nth-child(10),
    .collage-item:nth-child(12),
    .collage-item:nth-child(13) {
        grid-column: span 3;
        grid-row: span 2;
    }
}


