/* Base & Variables */
:root {
    --primary-white: #ffffff;
    --off-white: #f8f9fa;
    --accent-pink: #d12e6c;
    /* Matching the logo's magenta/pink */
    --accent-pink-light: #fde8ef;
    --brand-black: #000000;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --transition-slow: all 0.5s ease;
    --transition-fast: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --font-heading: 'Playfair Display', serif;
    /* Matching the logo's serif style */
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--primary-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: radial-gradient(#d12e6c 0.5px, transparent 0.5px), radial-gradient(#d12e6c 0.5px, var(--primary-white) 0.5px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    background-attachment: fixed;
    /* Parallax-like fix */
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--brand-black);
}

.text-accent {
    color: var(--accent-pink);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.02);
    transition: var(--transition-slow);
}

.logo-img {
    height: 60px;
    /* Adjust based on logo aspect ratio */
    width: auto;
    object-fit: contain;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition-fast);
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-pink);
    transition: var(--transition-fast);
}

nav a:hover::after {
    width: 100%;
}

.contact-btn {
    padding: 0.8rem 1.8rem;
    background-color: var(--brand-black);
    /* Black button for contrast */
    color: white !important;
    border-radius: 0;
    /* Removing border-radius for more formal look matching serifs? Or keep rounded? Let's keep slightly rounded but less bubbly */
    border-radius: 4px;
    transition: var(--transition-fast);
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.contact-btn:hover {
    transform: translateY(-2px);
    background-color: var(--accent-pink);
    box-shadow: 0 5px 15px rgba(209, 46, 108, 0.3);
}

.contact-btn::after {
    display: none;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    background: linear-gradient(135deg, #fff 0%, #fffbf8 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.2s;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.hero-visual {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    height: 80%;
    background: var(--accent-pink-light);
    border-radius: 50px 0 0 50px;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: slideInRight 1.2s ease forwards 0.5s;
}

/* Stylized graphic shapes */
.circle-graphic {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: white;
    position: absolute;
    opacity: 0.8;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--text-dark);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-fast);
}

.cta-button:hover {
    color: white;
    background-color: var(--accent-pink);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(209, 46, 108, 0.4);
}

/* Services */
.services {
    padding: 8rem 5%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(253, 232, 239, 0.4) 100%);
    position: relative;
    backdrop-filter: blur(5px);
    /* Soften the background pattern */
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.service-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-fast);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-pink);
}

.service-icon {
    font-size: 2rem;
    color: var(--accent-pink);
    margin-bottom: 1.5rem;
    width: 60px;
    height: 60px;
    background: var(--accent-pink-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    /* Less rounded to match formal vibe */
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-light);
}

/* Dark CTA Section */
.cta-section {
    padding: 6rem 5%;
    background-color: var(--brand-black);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-section p {
    color: #ccc;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.cta-section .cta-button {
    background-color: white;
    color: var(--brand-black);
}

.cta-section .cta-button:hover {
    background-color: var(--accent-pink);
    color: white;
}

/* About */
.about {
    padding: 8rem 5%;
    background-color: rgba(255, 255, 255, 0.95);
    /* Semi-transparent white to float over pattern */
    display: flex;
    align-items: center;
    gap: 5rem;
}

.about-image {
    flex: 1;
    position: relative;
    height: 500px;
}

.about-img-placeholder {
    width: 100%;
    height: 100%;
    background-color: #e0e0e0;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.about-img-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=800&q=80') center/cover;
    transition: var(--transition-slow);
}

.about-content {
    flex: 1;
}

.stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--accent-pink);
    font-family: var(--font-heading);
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: white;
    padding: 5rem 5% 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.footer-brand img {
    width: 150px;
    height: auto;
    margin-bottom: 1rem;
    /* Ensure visibility if transparent */
    padding: 8px;
    border-radius: 4px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #666;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        right: 0;
    }
}

.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, visibility;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}


/* Contact Section */
.contact-section {
    padding: 8rem 5%;
    background-color: var(--off-white);
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-card {
    background: var(--primary-white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-fast);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(209, 46, 108, 0.15);
    border-color: rgba(209, 46, 108, 0.2);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background-color: var(--accent-pink-light);
    color: var(--accent-pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    transition: var(--transition-fast);
}

.contact-card:hover .contact-icon {
    background-color: var(--accent-pink);
    color: white;
}

.contact-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.2rem;
}

.contact-card p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.contact-action {
    color: var(--accent-pink);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.8;
    transition: var(--transition-fast);
}

.contact-card:hover .contact-action {
    opacity: 1;
    gap: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        padding: 1rem 5%;
    }

    nav {
        display: none;
        /* Mobile menu placeholder */
    }

    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 100px;
    }

    .hero-content {
        margin-bottom: 3rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-visual {
        display: none;
    }

    .about {
        flex-direction: column;
    }

    .contact-container {
        padding: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
}