/*
* GOLDEN-ONYX Website Styles
* Excelência em Contabilidade, Auditoria e Consultoria Empresarial
*/

/* ======== Base Styles ======== */
:root {
    --golden: #D4AF37;
    --navy: #1A365D;
    --gray: #2D3748;
    --light-gray: #E2E8F0;
    --white: #FFFFFF;
    --dark-blue: #0B1426;
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: var(--gray);
    background-color: var(--white);
}

img {
    max-width: 100%;
    height: auto;
}

/* ======== Layout & Containers ======== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: var(--golden);
    margin: 0.5rem auto 0;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ======== Header & Navigation ======== */
.header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--golden);
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--golden);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--golden);
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    color: var(--golden);
}

/* ======== Hero Section ======== */
.hero {
    background: linear-gradient(rgba(26, 54, 93, 0.85), rgba(11, 20, 38, 0.85)), url('https://public.youware.com/users-website-assets/prod/37ade715-1b25-4a9a-991a-082b33c31221/g6e3f261b8ae69e0232a67867c005f757e219a013f00335ffa9f27881c6ed798a745a3ebe24529f199ee50dd757cbaf8c322634eb98b321d39897c26b365e0e33_1280.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 80px;
}

.hero-content {
    max-width: 900px;
    padding: 2rem;
    animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--golden);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-content p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.cta-button {
    background: var(--golden);
    color: var(--navy);
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.cta-button:hover {
    background: #B8941F;
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(0,0,0,0.2);
}

/* ======== About Section ======== */
.about {
    background-color: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    color: var(--navy);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.values-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.values-list li {
    padding: 0.5rem 0;
    color: var(--navy);
}

.values-list li::before {
    content: "✓";
    color: var(--golden);
    font-weight: bold;
    margin-right: 0.5rem;
}

.about-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.about-image:hover {
    transform: scale(1.02);
}

/* ======== Services Section ======== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--golden);
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--navy);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.service-card p {
    flex-grow: 1;
}

/* ======== Team Section ======== */
.team {
    background-color: var(--light-gray);
}

.team-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.team-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-image:hover {
    transform: scale(1.02);
}

.team-content h3 {
    color: var(--navy);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.team-content p {
    margin-bottom: 1.5rem;
}

.team-qualities {
    margin-top: 2rem;
}

.quality-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.quality-item i {
    color: var(--golden);
    font-size: 1.2rem;
    margin-right: 1rem;
}

/* ======== Contact Section ======== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    background: var(--navy);
    color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-title {
    color: var(--golden);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-item i {
    color: var(--golden);
    font-size: 1.2rem;
    margin-right: 1rem;
    margin-top: 0.2rem;
    width: 20px;
}

.contact-details {
    flex: 1;
}

.contact-label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.3rem;
    color: var(--golden);
    font-size: 0.9rem;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
    min-height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-top: 3rem;
}

.form-title {
    color: var(--navy);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--navy);
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--golden);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.form-submit {
    text-align: center;
}

.submit-button {
    background: var(--golden);
    color: var(--navy);
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.submit-button i {
    margin-right: 0.5rem;
}

.submit-button:hover {
    background: #B8941F;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* ======== Footer ======== */
.footer {
    background: var(--dark-blue);
    color: var(--white);
    text-align: center;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.footer-section h4 {
    color: var(--golden);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    font-size: 0.9rem;
}

/* ======== Responsive Design ======== */
@media (max-width: 1024px) {
    .section {
        padding: 4rem 0;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--navy);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content h2 {
        font-size: 1.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }

    .about-content,
    .team-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-content > div:first-child {
        order: 1;
    }
    
    .about-content > div:last-child {
        order: 0;
        margin-bottom: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ======== Animation Effects ======== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.about-text,
.team-content > div,
.contact-info,
.contact-form {
    animation: fadeInUp 0.8s ease-out forwards;
    
}