/* Local Fonts - Optimized for Performance (WOFF2 + TTF fallback) */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/open-sans-400.woff2') format('woff2'),
         url('../fonts/open-sans-400.ttf') format('truetype');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/open-sans-600.woff2') format('woff2'),
         url('../fonts/open-sans-600.ttf') format('truetype');
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/playfair-display-400.woff2') format('woff2'),
         url('../fonts/playfair-display-400.ttf') format('truetype');
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/playfair-display-700.woff2') format('woff2'),
         url('../fonts/playfair-display-700.ttf') format('truetype');
}

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #3A3A3A;
    overflow-x: hidden;
    font-display: swap;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    contain: layout;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-weight: 700;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.8rem;
    line-height: 1.4;
}

p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #CC347F;
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: #B02A6B;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #FFFFFF;
    color: #CC347F;
    border: 2px solid #CC347F;
}

.btn-secondary:hover {
    background-color: #CC347F;
    color: #FFFFFF;
}

.btn-outline {
    background-color: #CC347F;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.btn-outline:hover {
    background-color: #FFFFFF;
    color: #CC347F;
    border: 2px solid #FFFFFF;
}

.btn-white-border {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.btn-white-border:hover {
    background-color: #FFFFFF;
    color: #3A3A3A;
    border: 2px solid #FFFFFF;
}

/* Header Styles - PAIRING 1: BACKGROUND: #FFFFFF, TEXT: #CC347F */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.header-center-text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.2rem;
    color: #CC347F;
    font-weight: 600;
    line-height: 1.1;
    margin: 0;
    white-space: nowrap;
}

.logo-container {
    display: flex;
    align-items: center;
    background-color: #FFFFFF;
    padding: 0;
    border-radius: 8px;
    gap: 1rem;
}

.logo-img {
    height: 120px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    background-color: transparent;
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    text-align: center;
}

.logo-text {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: #CC347F;
    margin-bottom: 0.25rem;
    line-height: 1.1;
}

.logo-subtitle {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.2rem;
    color: #CC347F;
    font-weight: 600;
    line-height: 1.1;
    margin: 0;
    margin-bottom: auto;
    text-align: center;
}

/* Hamburger Menu Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #CC347F;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

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

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

.nav-link {
    text-decoration: none;
    color: #CC347F;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #B02A6B;
}

/* Hero Section - PAIRING 2: BACKGROUND: #CC347F, TEXT: #FFFFFF */
.hero {
    background-color: #CC347F;
    color: #FFFFFF;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    contain: layout;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    justify-items: center;
    contain: layout;
}

.hero-text {
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #FFFFFF;
    opacity: 0.9;
}

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

.hero-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    aspect-ratio: 3/2;
    will-change: transform;
    transform: translateZ(0);
    image-rendering: optimizeSpeed;
    image-rendering: -webkit-optimize-contrast;
}

/* Services Section - PAIRING 3: BACKGROUND: #FFFFFF, TEXT: #000000 */
.services {
    background-color: #FFFFFF;
    padding: 80px 0;
}

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

.service-card {
    background-color: #F8E8ED;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: #000000;
    margin-bottom: 1rem;
}

.service-card p {
    color: #000000;
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    margin-top: 1rem;
}

.service-features li {
    color: #000000;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

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

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Why Us Section - PAIRING 4: BACKGROUND: #FFFFFF, TEXT: #000000 */
.why-us {
    background-color: #FFFFFF;
    padding: 80px 0;
}

.why-us-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-us-text h2 {
    color: #000000;
    margin-bottom: 1.5rem;
}

.why-us-text p {
    color: #000000;
    margin-bottom: 2rem;
}

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

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #000000;
}

.checkmark {
    color: #CC347F;
    font-weight: bold;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.why-us-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    aspect-ratio: 3/4;
}

/* Gallery Section - PAIRING 2: BACKGROUND: #CC347F, TEXT: #FFFFFF */
.gallery {
    background-color: #CC347F;
    padding: 80px 0;
    color: #FFFFFF;
}

.gallery-title {
    text-align: center;
    margin-bottom: 0.5rem;
    color: #FFFFFF;
}

.gallery-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    color: #FFFFFF;
    font-size: 1.2rem;
    font-weight: 400;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.lightbox-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 1000px;
    top: 50%;
    transform: translateY(-50%);
    cursor: default;
}

.lightbox-image {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -10px;
    right: 10px;
    color: #FFFFFF;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}

.lightbox-close:hover {
    color: #CC347F;
}

.lightbox-caption {
    color: #FFFFFF;
    text-align: center;
    padding: 15px 0;
    font-size: 1.1rem;
    font-family: 'Open Sans', sans-serif;
}

.gallery-item {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    aspect-ratio: 4/3;
    will-change: transform;
    transform: translateZ(0);
}

.gallery-text {
    text-align: center;
    font-size: 1.1rem;
    color: #FFFFFF;
}

.social-link {
    color: #FFFFFF;
    text-decoration: underline;
    font-weight: 600;
}

.social-link:hover {
    color: #E9B6C2;
}

/* Testimonials Section - PAIRING 4: BACKGROUND: #FFFFFF, TEXT: #000000 */
.testimonials {
    background-color: #FFFFFF;
    padding: 80px 0;
}

.testimonials-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #000000;
}

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

.testimonial {
    text-align: center;
    padding: 2rem;
}

.testimonial blockquote {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 1rem;
    color: #000000;
    line-height: 1.6;
}

.testimonial cite {
    color: #CC347F;
    font-weight: 600;
    font-style: normal;
}

/* About Section - PAIRING 2: BACKGROUND: #CC347F, TEXT: #FFFFFF */
.about {
    background-color: #CC347F;
    padding: 80px 0;
    color: #FFFFFF;
}

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

.about-text h2 {
    color: #FFFFFF;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: #FFFFFF;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    aspect-ratio: 4/3;
}

/* Footer - PAIRING 5: BACKGROUND: #3A3A3A, TEXT: #FFFFFF */
.footer {
    background-color: #3A3A3A;
    color: #FFFFFF;
    padding: 60px 0 40px;
}

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

.footer-column h3 {
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #FFFFFF;
}

.footer-links {
    list-style: none;
    text-align: center;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #CC347F;
}

.social-links {
    margin-top: 1rem;
}

.social-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
}

.footer-bottom p {
    color: #FFFFFF;
    font-size: 0.9rem;
}


/* Responsive Design - Mobile First Approach */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 0.5rem 0;
    }
    
    .nav-wrapper {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo-img {
        width: 80px;
        height: 80px;
    }
    
    .logo-text {
        font-size: 1.3rem;
        margin-bottom: 0.1rem;
        line-height: 1.2;
    }
    
    .logo-subtitle {
        font-size: 0.9rem;
        line-height: 1.2;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: #FFFFFF;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        margin-bottom: 1rem;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 0.5rem 1rem;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .why-us-content,
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, auto);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, auto);
    }
    
    .logo-img {
        width: 70px;
        height: 70px;
    }
    
    .hero {
        padding: 90px 0 40px;
    }
    
    .header {
        padding: 0.4rem 0;
    }
    
    
    .logo-text {
        font-size: 1.2rem;
        margin-bottom: 0.08rem;
    }
    
    .logo-subtitle {
        font-size: 0.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, auto);
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
}

/* Image placeholders styling - only for gallery images */
.gallery-img {
    background-color: #f0f0f0;
    background-image: linear-gradient(45deg, #f0f0f0 25%, transparent 25%), 
                      linear-gradient(-45deg, #f0f0f0 25%, transparent 25%), 
                      linear-gradient(45deg, transparent 75%, #f0f0f0 75%), 
                      linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}