/* ===== PERFORMANCE OPTIMIZATIONS ===== */

/* ===== INLINE STYLE REPLACEMENTS ===== */
.hero-spacer {
    height: 40px;
}

.footer-compact {
    margin-top: 0;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.cta-button-container {
    text-align: center;
    margin-bottom: 1.2rem;
}

.view-more-container {
    text-align: center;
    margin-top: 2rem;
}

.product-section-alt {
    background-color: #f1f3f4;
}

.map-iframe {
    border: 0;
}

/* ===== FONT DECLARATIONS ===== */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Variable.woff2') format('woff2-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* Fallback for older browsers */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #f8f9fa;
}

html {
    scroll-behavior: smooth;
}

html, body {
    height: 100%;
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.main-content {
    flex: 1 0 auto;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 0.15rem 0 0.1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0.1rem;
    min-height: 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 120px;
    width: auto;
    max-width: 350px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #3498db;
}

/* Dropdown Navigation */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    min-width: 200px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    padding: 1rem 0;
    margin-top: 0.5rem;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background: rgba(52, 152, 219, 0.2);
    border-left-color: #3498db;
    color: #3498db;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: white;
}

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(44, 62, 80, 0.6), rgba(52, 73, 94, 0.6)), url('../images/banner.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 80px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* ===== GALLERY SECTIONS ===== */
.gallery-section {
    padding: 5rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-weight: 400;
}

.section-header p {
    font-size: 1.1rem;
    color: #5a6c7d;
    max-width: 600px;
    margin: 0 auto;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(44, 62, 80, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(44, 62, 80, 0.2);
}

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

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

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    top: 50%;
    transform: translateY(-50%);
}

.modal img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
}

.close:hover {
    color: #bbb;
}

/* ===== PAGE HEADERS ===== */
.page-header {
    background: linear-gradient(135deg, #3a4a5d 0%, #4a5d75 100%);
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
    margin-top: 80px;
}

.page-header-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.page-header-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== SERVICE SECTIONS ===== */
.service-section {
    padding: 5rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 0 2rem;
}

.service-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.service-text p {
    font-size: 1.1rem;
    color: #5a6c7d;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.service-features h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.service-features ul {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 0.5rem 0;
    color: #5a6c7d;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}

.service-cta {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    margin-top: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.service-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(44, 62, 80, 0.1);
}

/* ===== CTA SECTIONS ===== */
.cta-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.cta-button.secondary:hover {
    background: white;
    color: #2c3e50;
}

/* ===== CONTACT PAGE ===== */
.contact-page-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-info h2,
.contact-form h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #2c3e50;
    text-align: center;
}

.contact-details {
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(44, 62, 80, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(44, 62, 80, 0.2);
}

.contact-icon {
    font-size: 2rem;
    margin-right: 1rem;
    min-width: 50px;
    text-align: center;
}

.contact-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #3498db;
}

.contact-text p {
    color: #5a6c7d;
    margin: 0;
}

.social-links h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    text-align: center;
}

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

.social-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0.5rem;
}

.social-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.social-icon-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.social-icon-label {
    font-weight: 500;
}

/* ===== CONTACT FORM ===== */
.form {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(44, 62, 80, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ecf0f1;
    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: #3498db;
}

/* Date input styling for larger popup */
.form-group input[type="date"] {
    font-size: 1rem;
    padding: 0.8rem;
    min-height: auto;
}

/* Date picker popup styling */
.form-group input[type="date"]::-webkit-calendar-picker-indicator {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* Service dropdown styling */
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ecf0f1;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background-color: white;
    cursor: pointer;
}

.form-group select:focus {
    outline: none;
    border-color: #3498db;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* ===== MAP SECTION ===== */
.map-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.map-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.map-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.map-info {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(44, 62, 80, 0.1);
    margin-bottom: 2rem;
}

.map-info p {
    font-size: 1.2rem;
    color: #5a6c7d;
    margin-bottom: 1rem;
}

.google-map {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(44, 62, 80, 0.1);
}

.google-map iframe {
    border-radius: 15px;
}

/* ===== FOOTER ===== */
.footer {
    flex-shrink: 0;
    position: sticky;
    bottom: 0;
    width: 100%;
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
    z-index: 100;
}

.footer p {
    opacity: 0.8;
}

/* ===== LOADING ANIMATIONS ===== */
.loading {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item img[data-src] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.view-more-link {
    display: inline-block;
    margin-top: 0.7rem;
    color: #2176ae;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}
.view-more-link:hover {
    color: #3498db;
    text-decoration: underline;
}

.view-more-btn {
    background: #3498db;
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 25px;
    padding: 0.9rem 2.2rem;
    font-size: 1.08rem;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.08);
}
.view-more-btn:hover {
    background: #2176ae;
    color: #fff;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .section-header h3 {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
        padding: 0 1rem;
    }

    .service-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info h2,
    .contact-form h2 {
        font-size: 1.8rem;
    }
    
    .form {
        padding: 2rem;
    }
    
    .page-header-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
        padding: 0 1rem;
    }

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

    .nav {
        padding: 0 1rem;
    }
}

.service-image {
    text-align: center;
}

.hidden-baby-image {
    display: none;
}

.hidden-product-image {
    display: none;
}

.service-price-badge {
    display: inline-block;
    background: #eaf4fb;
    color: #2176ae;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 16px;
    padding: 0.3rem 1.1rem;
    margin: 0.5rem 0 1.1rem 0;
    letter-spacing: 0.2px;
    vertical-align: middle;
    box-shadow: none;
    border: none;
    cursor: default;
}

.hero-slider-section {
    background: #f4f7fa;
    margin-top: 110px;
    padding-top: 0;
    padding-bottom: 0;
    text-align: center;
}
.hero-slider {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    height: 750px;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(44,62,80,0.15);
    background: #eaf4fb;
}
.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.7s cubic-bezier(.77,0,.18,1);
}
.hero-slider .slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
    display: block;
    overflow: hidden;
}
.hero-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
}

/* Loading state for slider */
.hero-slider.loading {
    opacity: 0.8;
}

.hero-slider.loaded {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.slide-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44,62,80,0.65);
    color: #fff;
    font-size: 1.25rem;
    padding: 1rem 0;
    text-align: center;
    border-radius: 0 0 18px 18px;
    letter-spacing: 0.5px;
}
.slide-caption-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    letter-spacing: 0.5px;
}
.slide-caption-desc {
    font-size: 1.05rem;
    font-weight: 400;
    color: #eaf4fb;
    line-height: 1.5;
    max-width: 90%;
    margin: 0 auto;
}
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(44,62,80,0.7);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
}
.slider-btn:hover {
    background: #3498db;
}
.slider-btn.prev { left: 18px; }
.slider-btn.next { right: 18px; }
@media (max-width: 900px) {
    .hero-slider, .hero-slider .slide, .hero-slider .slide img {
        height: 400px;
    }
    .slide-caption {
        font-size: 1rem;
        padding: 0.7rem 0;
    }
    .hero-slider-section {
        margin-top: 80px;
    }
}
@media (max-width: 600px) {
    .hero-slider-section {
        margin-top: 160px;
    }
    .hero-slider {
        height: auto;
        aspect-ratio: 4/3;
    }
    .hero-slider .slide,
    .hero-slider .slide img {
        height: auto;
        object-fit: contain;
    }
    .slide-caption {
        font-size: 0.9rem;
        padding: 0.5rem 0;
    }
    .gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        padding: 0 1rem;
    }
}
.main-cta-heading-section {
    background: #f4f7fa;
    padding: 2.2rem 0 0.5rem 0;
    text-align: center;
}
.main-cta-heading-section .main-cta-content h2 {
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #2c3e50;
}
.main-cta-heading-section .main-cta-content p {
    font-size: 1.15rem;
    color: #5a6c7d;
    margin-bottom: 0;
}

/* ===== INDEX PAGE GALLERY SECTIONS ===== */
.gallery-grid-2-columns {
    grid-template-columns: repeat(2, 1fr);
}

.gallery-item-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.gallery-caption-index {
    position: static;
    background: none;
    color: #2c3e50;
    text-align: center;
    padding: 1.2rem 0 1.5rem 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.gallery-caption-title-index {
    color: #2176ae;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.gallery-caption-desc-index {
    color: #5a6c7d;
    font-size: 1rem;
    line-height: 1.5;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.gallery-caption-link {
    text-decoration: none;
    color: inherit;
}

.gallery-caption-link:hover {
    text-decoration: none;
    color: inherit;
}

.product-section-bg {
    background-color: #f1f3f4;
}

/* ===== PORTFOLIO PAGE STYLES ===== */
.portfolio-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.portfolio-gallery-grid .gallery-item {
    width: 100%;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.portfolio-gallery-grid .gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

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

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

/* Responsive adjustments for portfolio grid */
@media (max-width: 768px) {
    .portfolio-gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .portfolio-gallery-grid .gallery-item img {
        height: 250px;
    }
}

/* Index page specific gallery styling */
.index-page .gallery-item-flex img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Portfolio page specific gallery styling */
.portfolio-gallery-grid .gallery-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}