/* Base Variables */
:root {
    --color-bg: #ffffff;
    --color-text: #1a1a1a;
    --color-primary: #D4AF37;
    /* Gold */
    --color-primary-dark: #B59020;
    --color-secondary: #000000;
    --color-accent: #f9f9f9;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Lato', sans-serif;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: var(--font-serif);
    color: var(--color-secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Header & Nav */
header {
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-symbol {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    /* Or could be square based on card */
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text .subtitle {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary-dark);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 400;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--color-primary);
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding-top: 80px;
    /* Header space */
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero h1 .highlight {
    color: var(--color-primary);
    position: relative;
    white-space: nowrap;
}

.hero p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2.5rem;
    max-width: 450px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.btn-secondary {
    padding: 0.8rem 1.8rem;
    border: 2px solid var(--color-text);
    border-radius: 50px;
    font-weight: 700;
}

.btn-secondary:hover {
    background-color: var(--color-text);
    color: white;
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

/* Abstract Shapes */
.abstract-shape {
    position: absolute;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 8s ease-in-out infinite;
    opacity: 0.8;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(45deg, var(--color-primary), #f3e5ab);
    transform: translate(-20px, -20px);
    z-index: 1;
}

.shape-2 {
    width: 350px;
    height: 350px;
    background: var(--color-secondary);
    transform: translate(20px, 20px);
    z-index: 0;
    opacity: 0.1;
    animation-delay: 1s;
}

@keyframes morph {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }

    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }

    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }

    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

/* Services Section */
.services {
    padding: 6rem 5%;
    background-color: var(--color-accent);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
    border-top: 5px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-top-color: var(--color-primary);
}

.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Contact Section */
.contact {
    padding: 6rem 5%;
    background-color: var(--color-secondary);
    /* Dark background for wow factor */
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 4rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 10;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    color: var(--color-primary);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.contact-detail .label {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

.contact-detail .email-link {
    font-size: 2rem;
    font-family: var(--font-serif);
    color: white;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 5px;
}

.contact-detail .email-link:hover {
    color: var(--color-primary);
}

.contact-form-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.2;
}

.decorative-h {
    font-family: 'Great Vibes', cursive;
    font-size: 8rem;
    color: white;
}

/* Footer */
footer {
    background-color: #111;
    color: #888;
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
}

/* Animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards;
}

.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

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

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .logo-symbol {
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }

    .logo-text {
        font-size: 1rem;
    }

    .hero {
        flex-direction: column;
        /* Stack normally, content first */
        text-align: center;
        padding-top: 120px;
        min-height: auto;
        padding-bottom: 4rem;
    }

    .hero-content {
        order: 1;
        /* Ensure content is first */
        margin-top: 0;
        width: 100%;
    }

    .hero h1 {
        font-size: 2rem;
        /* Smaller font for mobile */
        word-wrap: break-word;
        /* Prevent overflow */
        padding: 0 1rem;
    }

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

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        /* Allow buttons to stack */
        gap: 1rem;
        padding: 0 1rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        /* Full width buttons on mobile */
        max-width: 300px;
        padding: 0.8rem 1rem;
    }

    .hero-visual {
        order: 2;
        /* Visual second */
        height: 300px;
        /* Reduced height */
        margin-top: 2rem;
        width: 100%;
        overflow: hidden;
        /* Contain shapes */
    }

    .abstract-shape {
        transform: scale(0.6);
        /* Shrink shapes */
    }

    .shape-1 {
        transform: translate(0, 0) scale(0.6);
    }

    .shape-2 {
        transform: translate(0, 0) scale(0.6);
    }

    .contact-container {
        padding: 2rem 1.5rem;
        flex-direction: column;
        text-align: center;
    }

    .contact h2 {
        font-size: 1.8rem;
    }

    .contact-detail .email-link {
        font-size: 1.2rem;
        /* proper email size */
        word-break: break-all;
    }

    .contact-form-placeholder {
        display: none;
    }

    .nav-links {
        display: none;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero h1 .highlight {
        white-space: normal;
    }
}