/* 
   Theme: Dra. Fernanda Nunes - Advocacia Previdenciária
   Colors based on reference: https://fernandanunes.com.br/kitescritorio/
*/

:root {
    /* Color Palette */
    --color-bg: #001a1e;
    --color-bg-darker: #001214;
    --color-bg-light: #003c47;

    --color-text: #ecfeff;
    --color-text-muted: #aed9e0;

    --color-gold: #dfb374;
    --color-gold-hover: #f3c586;
    --color-gold-dark: #b57b36;

    --color-teal: #0e5f66;
    --color-teal-light: #18828c;
    --color-glass: rgba(1, 46, 52, 0.4);
    --border-glass: rgba(255, 255, 255, 0.05);

    /* Typefaces */
    --font-heading: 'Playfair Display', serif;
    /* User Requested: Classico/Serifada */
    --font-body: 'Montserrat', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Effects */
    --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(223, 179, 116, 0.2);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-text);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Texture Pattern */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(to right, rgba(222, 160, 87, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(222, 160, 87, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    pointer-events: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-gold {
    color: var(--color-gold);
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: #001a1e;
    box-shadow: 0 4px 15px rgba(223, 179, 116, 0.2);
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 30px rgba(223, 179, 116, 0.4);
    background: linear-gradient(135deg, var(--color-gold-hover), var(--color-gold));
}

.btn-outline {
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    background: transparent;
}

.btn-outline:hover {
    background: var(--color-gold);
    color: #000;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(0, 26, 30, 0.85);
    /* Semi-transparent Brand Dark */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(223, 179, 116, 0.1);
    transition: padding 0.3s;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    /* Adjust based on reference height */
    width: auto;
    filter: brightness(0) invert(1);
    /* Turns black logo to white */
    opacity: 0.9;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 2px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--color-gold);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-gold);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-student {
    padding: 0.5rem 1.5rem;
    background: rgba(14, 95, 102, 0.2);
    border: 1px solid var(--color-teal);
    color: var(--color-text);
    border-radius: 50px;
    font-size: 0.85rem;
}

.btn-student:hover {
    background: var(--color-teal);
    border-color: var(--color-teal-light);
}

/* Hero Section */
.hero {
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

/* Background Glow */
.hero::after {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(14, 95, 102, 0.2) 0%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
    text-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.hero-text .highlight {
    color: var(--color-gold);
    font-style: italic;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(223, 179, 116, 0.2);
}

.image-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: rgba(0, 26, 30, 0.9);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border: 1px solid var(--color-gold);
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
}

.image-badge h4 {
    color: var(--color-gold);
    font-size: 1.5rem;
    margin-bottom: 0px;
}

.image-badge p {
    margin: 0;
    font-size: 0.9rem;
}

/* Products Section */
.products {
    padding: var(--spacing-lg) 0;
    background-color: var(--color-bg-darker);
}

.products-header {
    margin-bottom: 4rem;
}

.products-header h2 {
    color: var(--color-text);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.product-card {
    background: var(--color-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    padding: 3rem;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-teal));
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(223, 179, 116, 0.3);
}

.product-card h3 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.product-card .tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(223, 179, 116, 0.1);
    color: var(--color-gold);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.product-card p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* About Section */
.about {
    padding: var(--spacing-xl) 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    border-radius: 12px;
    /* Rectangular shape with slight soft corners */
    border: 2px solid var(--color-gold);
    padding: 10px;
    max-width: 400px;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text .lead {
    font-size: 1.25rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Footer */
footer {
    background: #000;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.footer-links a {
    display: block;
    margin-bottom: 0.5rem;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: #666;
}

/* Responsive */
@media (max-width: 900px) {

    .hero-content,
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-image {
        order: -1;
        margin-bottom: 2rem;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .image-badge {
        left: 50%;
        transform: translateX(-50%);
        bottom: -30px;
        width: 80%;
    }

    .logo {
        font-size: 1.2rem;
    }

    .nav-links {
        display: none;
        /* Mobile menu would go here */
    }
}