/* STUDIO VIZIOLI - MULTI-PAGE CSS (STYLE: FRANCO LEGAL CONSULTING) */
:root {
    --primary-color: #0F2C59;      /* Franco Navy Blue */
    --primary-dark: #081B38;       /* Deep Navy Dark */
    --accent-gold: #C5A880;        /* Warm Bronze Gold */
    --accent-gold-hover: #B3956D;  /* Darker Gold */
    --text-main: #2C3E50;          /* Charcoal Body Text */
    --text-muted: #64748B;         /* Slate Grey Text */
    --bg-light: #F8F9FA;           /* Off-White Light Background */
    --bg-card-dark: #152238;      /* Elegant Dark Blue Card */
    --border-color: #E2E8F0;       /* Border Color */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.65;
    background-color: #ffffff;
    font-size: 0.98rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* UTILITIES */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-accent {
    background-color: var(--primary-color);
}

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

.text-gold {
    color: var(--accent-gold) !important;
}

.section-title {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.subtitle {
    font-size: 0.8rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent-gold);
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

/* GRID */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.align-center {
    align-items: center;
}

/* TOPBAR */
.topbar {
    background-color: var(--primary-dark);
    color: #CBD5E1;
    font-size: 0.85rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(197, 168, 128, 0.2);
}

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

.topbar-info span, .topbar-phone span {
    margin-right: 20px;
}

.topbar i {
    color: var(--accent-gold);
    margin-right: 6px;
}

/* NAVBAR */
.navbar {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(15, 44, 89, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--accent-gold);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

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

.logo-main {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
    line-height: 1;
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 0.65rem;
    letter-spacing: 3px;
    color: var(--accent-gold);
    font-weight: 600;
    margin-top: 4px;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-gold);
}

.btn-nav {
    background: var(--accent-gold) !important;
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 2px;
    transition: background 0.3s ease;
}

.btn-nav:hover {
    background: var(--accent-gold-hover) !important;
}

/* PAGE HEADER (FOR INNER PAGES) */
.page-header {
    background: linear-gradient(135deg, rgba(15, 44, 89, 0.95) 0%, rgba(8, 27, 56, 0.9) 100%), url('../img/hero.jpg') center/cover no-repeat;
    padding: 70px 0;
    color: #ffffff;
    text-align: center;
    border-bottom: 3px solid var(--accent-gold);
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 10px;
}

.page-header p {
    color: var(--accent-gold);
    letter-spacing: 2px;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 600;
}

/* HERO HOMEPAGE */
.hero {
    position: relative;
    background: url('../img/hero.jpg') center/cover no-repeat;
    height: 75vh;
    min-height: 520px;
    display: flex;
    align-items: center;
    color: #ffffff;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(15, 44, 89, 0.92) 0%, rgba(8, 27, 56, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.hero-subtitle {
    display: inline-block;
    color: var(--accent-gold);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.4rem;
    margin-bottom: 20px;
    line-height: 1.15;
    font-weight: 600;
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 35px;
    color: #E2E8F0;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 18px;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 13px 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--accent-gold-hover);
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.4);
}

.btn-outline {
    border: 2px solid var(--accent-gold);
    color: #ffffff;
}

.btn-outline:hover {
    background: var(--accent-gold);
    color: #ffffff;
}

.btn-block {
    width: 100%;
}

/* CARDS */
.card {
    background: #ffffff;
    padding: 35px 30px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--accent-gold);
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(15, 44, 89, 0.12);
    border-top-color: var(--primary-color);
}

.card-icon {
    font-size: 2.2rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.card h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 14px;
    font-size: 1.5rem;
    font-weight: 600;
}

.card p {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.6;
}

.card-dark {
    background: var(--bg-card-dark);
    border: 1px solid rgba(197, 168, 128, 0.2);
    border-top: 3px solid var(--accent-gold);
}

.card-dark h3 {
    color: #ffffff;
}

.card-dark p {
    color: #94A3B8;
}

/* IMAGES */
.img-box img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 12px 30px rgba(15, 44, 89, 0.2);
    border: 1px solid var(--border-color);
}

/* CONTACT FORM */
.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-item {
    margin-bottom: 20px;
}

.contact-item strong {
    color: var(--primary-color);
    display: block;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.contact-item strong i {
    color: var(--accent-gold);
    margin-right: 8px;
}

.contact-item p {
    color: var(--text-muted);
}

.contact-form {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #CBD5E1;
    border-radius: 2px;
    font-family: inherit;
    font-size: 0.95rem;
    background: #ffffff;
    color: var(--text-main);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
}

/* FOOTER */
footer {
    margin-top: auto;
    background: var(--primary-dark);
    color: #94A3B8;
    padding: 45px 0 35px 0;
    text-align: center;
    border-top: 2px solid var(--accent-gold);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #ffffff;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-links a {
    color: #CBD5E1;
    text-decoration: none;
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

footer p {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

footer small {
    color: var(--accent-gold);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    .topbar {
        display: none;
    }
    .hero h1 {
        font-size: 2.3rem;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
}
