@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --primary-black: #202020;
    --secondary-black: #2a2a2a;
    --gold-light: #f1e4a1;
    --gold-main: #dec067;
    --gold-dark: #bba14f;
    --brand-gold: #dec067;
    --gold-bg-hover: rgba(222, 192, 103, 0.1);
    --text-light: #F2F2F2;
    --text-dark: #333333;
    --text-gold: #dec067;
    --bg-dark: #202020;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    --transition-fast: 0.2s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.white-text {
    color: #FFFFFF !important;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

p {
    text-align: justify;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--text-gold);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--gold-main);
    color: var(--primary-black);
    border: 1px solid var(--gold-main);
}

.btn-primary:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(197, 160, 40, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--gold-main);
    border: 1px solid var(--gold-main);
}

.btn-outline:hover {
    background: var(--gold-main);
    color: var(--primary-black);
}

section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background-color: var(--gold-main);
    margin: 1rem auto;
}

.marble-bg {
    background-image: url('assets/marble-bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
}

.marble-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(32, 32, 32, 0.85);
    z-index: 1;
}

.marble-bg>* {
    position: relative;
    z-index: 2;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background-color: var(--brand-gold);
    -webkit-mask-image: url('assets/logo.png');
    mask-image: url('assets/logo.png');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    display: inline-block;
}

.logo-icon-sm {
    width: 32px;
    height: 32px;
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 768px) {
    :root {
        --spacing-xl: 4rem;
        --spacing-lg: 2rem;
    }

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

    .container {
        padding: 0 1.5rem;
        width: 100%;
        max-width: 100vw;
    }
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(32, 32, 32, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(197, 160, 40, 0.2);
    padding: 1rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: none;
}

.logo-sub {
    font-size: 0.6rem;
    letter-spacing: 5px;
    color: var(--gold-main);
    margin-top: -5px;
}

.gold {
    color: var(--gold-main);
}

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

.nav-list a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-list a:hover {
    color: var(--gold-main);
}

.header-cta {
    display: flex;
    gap: 0.8rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .header-container {
        justify-content: center;
    }

    .logo-wrapper {
        justify-content: center;
        gap: 0.4rem;
        width: 100%;
    }

    .logo-text-group {
        flex-direction: row;
        align-items: center;
        gap: 0.3rem;
    }

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

    .logo-sub {
        font-size: 0.55rem;
        letter-spacing: 1px;
        margin-top: 2px;
    }

    .logo-icon-sm {
        width: 20px;
        height: 20px;
    }

    .hero {
        padding-top: 10rem;
        min-height: auto;
        display: block;
    }

    .hero-content {
        text-align: center;
        width: 100%;
    }

    .hero-title {
        font-size: 2.2rem;
        word-break: break-word;
    }

    .hero-subtitle {
        font-size: 0.8rem;
        letter-spacing: 2px;
        word-break: break-word;
    }

    .hero-faded-image {
        max-width: 100%;
        max-height: 250px;
        opacity: 0.3;
        margin: 0 auto;
        display: block;
        float: none;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .hero-btns .btn {
        width: 100%;
        text-align: center;
    }

    .contact-info,
    .contact-map {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .contact-link-card {
        width: 100%;
        margin: 0;
    }

    .cta-box {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .header-cta {
        display: none;
    }

    .reveal-left,
    .reveal-right {
        transform: translateY(20px) !important;
        opacity: 0;
    }

    .reveal-left.revealed,
    .reveal-right.revealed {
        transform: translateY(0) !important;
        opacity: 1;
    }

    .contact-link-card p {
        font-size: 0.8rem;
        word-break: break-all;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer .logo-wrapper {
        justify-content: center !important;
    }
}

/* Hero Styles */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--primary-black);
    margin-top: 0;
    padding: 2rem 0;
    overflow: hidden;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 2rem;
}

.hero-content {
    max-width: 100%;
}

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-faded-image {
    max-width: 130%;
    height: auto;
    max-height: 85vh;
    object-fit: contain;
    mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0) 80%);
    -webkit-mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0) 80%);
    opacity: 0.5;
    filter: brightness(1.1);
}

.hero-subtitle {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--brand-gold);
}

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

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: #bbb;
    max-width: 600px;
}

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

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image-container {
        justify-content: center;
        order: -1;
        margin-bottom: 2rem;
    }

    .hero-faded-image {
        max-height: 40vh;
        opacity: 0.4;
    }

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

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

/* About Styles */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-image {
    position: relative;
}

.image-frame {
    border: 1px solid var(--gold-main);
    padding: 1.5rem;
    position: relative;
    background-color: var(--secondary-black);
}

.profile-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
    border: 1px solid rgba(188, 148, 64, 0.3);
}

.lead {
    font-size: 1.2rem;
    color: var(--gold-light);
    margin-bottom: 2rem;
}

.credentials {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.credential-item {
    border-left: 3px solid var(--gold-main);
    padding-left: 1rem;
}

.credential-item strong {
    color: var(--gold-main);
}

.gold-link {
    color: var(--gold-main);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.gold-link:hover {
    color: var(--gold-light);
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

/* Practice Areas Styles */
.practice-areas {
    background-color: var(--secondary-black);
    padding: 6rem 0;
    overflow: hidden;
}

.container-full {
    width: 100%;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.carousel-track {
    display: flex;
    width: max-content;
    gap: 2rem;
    animation: scroll 40s linear infinite;
}

.carousel-track:hover {
    animation-play-state: paused;
}

.area-card-carousel {
    background-color: var(--primary-black);
    padding: 2.5rem 2rem;
    border: 1px solid rgba(222, 192, 103, 0.1);
    border-radius: 4px;
    width: 350px;
    flex-shrink: 0;
    transition: var(--transition-fast);
    text-align: center;
}

.area-card-carousel:hover {
    border-color: var(--brand-gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.area-icon {
    margin-bottom: 1.5rem;
}

.area-title {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    color: var(--text-gold);
}

.area-text {
    color: #bbb;
    font-size: 0.95rem;
    line-height: 1.6;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .area-card-carousel {
        width: 300px;
        padding: 2rem 1.5rem;
    }

    .carousel-track {
        animation-duration: 25s;
    }
}

/* Differentiators Styles */
.differentiators {
    background-color: var(--secondary-black);
    border-top: 1px solid rgba(222, 192, 103, 0.1);
    border-bottom: 1px solid rgba(222, 192, 103, 0.1);
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.diff-item {
    text-align: center;
    background-color: var(--primary-black);
    padding: var(--spacing-md);
    border: 1px solid rgba(222, 192, 103, 0.1);
    border-radius: 4px;
    transition: var(--transition-fast);
}

.diff-item:hover {
    transform: translateY(-5px);
    border-color: var(--gold-main);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.diff-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: rgba(222, 192, 103, 0.2);
    display: block;
    margin-bottom: -1rem;
}

.diff-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-gold);
}

.diff-item p {
    font-size: 0.9rem;
    color: #888;
}

@media (max-width: 992px) {
    .diff-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .diff-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.contact-info h3 {
    margin-bottom: 1.5rem;
}

.contact-links {
    margin: 3rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-link-card {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    background: var(--secondary-black);
    padding: 1.2rem;
    border: 1px solid rgba(222, 192, 103, 0.1);
    border-radius: 4px;
    transition: var(--transition-fast);
    text-decoration: none;
    color: inherit;
}

.contact-link-card:hover {
    transform: translateX(10px);
    border-color: var(--brand-gold);
    background: rgba(222, 192, 103, 0.05);
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--brand-gold);
    background: rgba(222, 192, 103, 0.1);
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-link-card strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    color: var(--text-gold);
}

.contact-link-card p {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cta-box {
    background: var(--secondary-black);
    padding: 2rem;
    border-left: 4px solid var(--brand-gold);
    margin-top: 2rem;
}

.cta-box p {
    margin-bottom: 1.5rem;
}

.contact-map {
    height: 100%;
    min-height: 400px;
    border: 1px solid rgba(222, 192, 103, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.contact-map iframe {
    filter: grayscale(0.5) contrast(1.1) invert(0.9);
    transition: var(--transition-slow);
}

.contact-map:hover iframe {
    filter: grayscale(0) contrast(1) invert(0);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

/* Footer Styles */
.footer {
    background-color: var(--primary-black);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(197, 160, 40, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-lg);
}

.footer-logo .logo-text {
    font-size: 1.2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    font-size: 0.8rem;
    color: var(--gold-main);
    letter-spacing: 2px;
}

.oab-link {
    color: inherit;
    border-bottom: 1px solid transparent;
}

.oab-link:hover {
    color: var(--gold-light);
    border-bottom-color: var(--gold-light);
}

.footer-info {
    max-width: 500px;
    text-align: right;
}

.footer-info p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.developer-credit {
    font-size: 0.85rem !important;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1.5rem !important;
}

.developer-credit a {
    color: #7DF9FF;
    text-decoration: none;
    transition: var(--transition-fast);
}

.developer-credit a:hover {
    text-shadow: 0 0 8px rgba(125, 249, 255, 0.5);
    opacity: 0.8;
}

.legal-disclaimer {
    font-size: 0.75rem !important;
    font-style: italic;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-info {
        text-align: center;
    }
}