:root {
    --color-primary: #d4af37;
    /* Gold */
    --color-primary-light: #f3e5ab;
    --color-bg: #0f172a;
    /* Dark Navy */
    --color-bg-deep: #020617;
    --color-text: #f3e5ab;
    /* Light Gold */
    --color-text-muted: #bfa15f;
    /* Muted Gold */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Background gradient effect */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, #1e293b 0%, var(--color-bg-deep) 100%);
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
}

/* Logo Animation */
.logo-container {
    margin-bottom: 2.5rem;
    animation: fadeInDown 1s ease-out;
    position: relative;
    display: inline-block;
}

.logo-container::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.5), transparent 50%, rgba(212, 175, 55, 0.2));
    z-index: -1;
    animation: rotateGlow 10s linear infinite;
}

.logo {
    width: 180px;
    height: 180px;
    object-fit: contain;
    /* Ensures logo isn't distorted */
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    padding: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    transition: transform 0.5s ease;
}

.logo:hover {
    transform: scale(1.05);
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.1);
}

@keyframes rotateGlow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Main Content Typography */
.content {
    animation: fadeInUp 1s ease-out 0.3s backwards;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lawyer-name {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lawyer-title {
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    font-weight: 300;
}

.divider {
    width: 60px;
    height: 2px;
    background-color: var(--color-primary);
    margin-bottom: 2rem;
    opacity: 0.6;
}

.tagline {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-text);
    margin-bottom: 3rem;
    opacity: 0.9;
}

/* Button Group */
.button-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    width: 100%;
    max-width: 320px;
    /* Max width 320px, but shrinks on smaller screens */
}

/* Contact Button */
.contact-button {
    display: flex;
    /* Changed to flex to support w-100 behavior better */
    width: 100%;
    /* Fill the container */
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    /* Slightly reduced side padding since width is fixed */
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    color: var(--color-text);
    text-decoration: none;
    font-size: 1.1rem;
    backdrop-filter: blur(5px);
    border-radius: 4px;
}

.contact-button:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(255, 255, 255, 0.1);
}



.icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    opacity: 0.9;
}

/* Footer */
.main-footer {
    margin-top: auto;
    padding-top: 4rem;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.875rem;
    animation: fadeIn 1s ease-out 1s backwards;
}

/* Keyframes */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .lawyer-name {
        font-size: 2.5rem;
    }

    .logo {
        width: 140px;
        height: 140px;
    }

    .tagline {
        font-size: 1.25rem;
    }

    .container {
        padding: 1rem;
        /* Reduce padding on mobile to prevent overflow */
    }
}