/* TwoShore Solicitors - Premium Law Firm Theme */
:root {
    /* Primary Brand Colors */
    --primary-navy: #0A1E3F;        /* Deep Navy Blue - Trust & Authority */
    --secondary-charcoal: #2C3E50;  /* Charcoal Gray - Sophistication */
    --accent-gold: #D4AF37;         /* Premium Gold - Excellence & Luxury */
    --clean-white: #FFFFFF;         /* Clean White - Clarity */
    --dark-text: #333333;           /* Dark Gray - Primary Text */
    
    /* Supporting Grayscale */
    --light-gray: #F8F9FA;          /* Light backgrounds */
    --medium-gray: #6C757D;         /* Secondary text */
    --heading-gray: #495057;        /* Headings */
    --border-gray: #DEE2E6;         /* Borders */
    --divider-gray: #E9ECEF;        /* Dividers */
    
    /* Gradient Effects */
    --navy-gradient: linear-gradient(135deg, #0A1E3F 0%, #1a365d 100%);
    --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F9E076 100%);
    
    /* Shadows */
    --shadow-light: 0 2px 15px rgba(10, 30, 63, 0.1);
    --shadow-medium: 0 5px 25px rgba(10, 30, 63, 0.15);
    --shadow-heavy: 0 10px 40px rgba(10, 30, 63, 0.2);
    
    /* Typography */
    --font-heading: 'Playfair Display', 'Georgia', serif;
    --font-body: 'Open Sans', 'Arial', sans-serif;
    --font-accent: 'Montserrat', 'Helvetica Neue', sans-serif;
}

/* Global Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--dark-text);
    line-height: 1.7;
    background-color: var(--clean-white);
    overflow-x: hidden;
}

/* Premium Navigation */
.navbar {
    background: var(--navy-gradient) !important;
    box-shadow: var(--shadow-medium);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-heavy);
}

.navbar-brand {
    color: var(--clean-white) !important;
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 1.8rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    color: var(--accent-gold) !important;
    transform: scale(1.05);
}

.nav-link {
    color: var(--clean-white) !important;
    font-family: var(--font-accent);
    font-weight: 500;
    font-size: 1.1rem;
    margin: 0 0.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-gold) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gold-gradient);
    border-radius: 2px;
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* Dropdown Menu Styles */
.dropdown-menu {
    background: var(--clean-white);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    box-shadow: var(--shadow-heavy);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    color: var(--heading-gray);
    transition: all 0.3s ease;
    font-weight: 500;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: var(--gold-gradient);
    color: var(--primary-navy);
}

.dropdown-toggle::after {
    margin-left: 0.5rem;
    vertical-align: 0.15em;
}

.navbar-nav .dropdown-menu {
    min-width: 200px;
}

/* Active state for dropdown parent */
.nav-item.dropdown:hover .nav-link.dropdown-toggle,
.nav-item.dropdown.show .nav-link.dropdown-toggle {
    color: var(--accent-gold);
}

/* Mobile dropdown improvements */
@media (max-width: 991.98px) {
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none;
        border: none;
        background: rgba(255, 255, 255, 0.1);
        margin: 0;
    }
    
    .dropdown-item {
        color: var(--clean-white);
        padding: 0.5rem 2rem;
    }
    
    .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--accent-gold);
    }
}

/* Logo Container Styling */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bridge-logo {
    height: 32px;
    width: auto;
    transition: all 0.3s ease;
}

.brand-text {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--clean-white);
    letter-spacing: 0.5px;
}

.navbar-brand:hover .bridge-logo {
    transform: scale(1.05);
}

.navbar-brand:hover .brand-text {
    color: var(--accent-gold);
}

/* Responsive Logo Adjustments */
@media (max-width: 768px) {
    .bridge-logo {
        height: 28px;
    }
    
    .brand-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .logo-container {
        gap: 8px;
    }
    
    .bridge-logo {
        height: 24px;
    }
    
    .brand-text {
        font-size: 1.1rem;
    }
}

/* Footer Logo Integration */
.footer .logo-container {
    justify-content: center;
    margin-bottom: 1rem;
}

.footer .bridge-logo {
    height: 28px;
}

.footer .brand-text {
    color: var(--clean-white);
    font-size: 1.3rem;
}

/* Favicon and Mobile Icon */
.favicon-logo {
    width: 16px;
    height: 16px;
}

.bridge-logo-large {
    height: 60px;
    width: auto;
    margin: 0 auto 1rem;
    display: block;
}

/* Print Logo Variant */
@media print {
    .bridge-logo {
        height: 24px;
        stroke: #000000 !important;
        fill: #000000 !important;
    }
    
    .brand-text {
        color: #000000 !important;
    }
}

/* Hero Section - Premium */
.hero {
    background: url('/assets/images/hero-bg.jpg') center/cover no-repeat;
    position: relative;
    padding: 120px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 30, 63, 0.85);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--clean-white);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Premium Buttons */
.btn-premium {
    background: var(--gold-gradient);
    color: var(--primary-navy);
    border: none;
    padding: 1rem 2.5rem;
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
}

.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
    color: var(--primary-navy);
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: all 0.6s ease;
}

.btn-premium:hover::before {
    left: 100%;
}

.btn-outline-premium {
    background: transparent;
    border: 2px solid var(--clean-white);
    color: var(--clean-white);
    padding: 0.9rem 2.5rem;
    font-family: var(--font-accent);
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-premium:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--primary-navy);
    transform: translateY(-2px);
}

/* Services Section - Enhanced */
.services-grid {
    background: var(--light-gray);
    padding: 100px 0;
}

.service-card {
    background: var(--clean-white);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-light);
    height: 100%;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--accent-gold);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary-navy);
}

.service-card h3 {
    font-family: var(--font-heading);
    color: var(--heading-gray);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Statistics Section */
.stats-section {
    background: var(--navy-gradient);
    color: var(--clean-white);
    padding: 80px 0;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-family: var(--font-accent);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--clean-white);
    padding: 100px 0;
}

.testimonial-card {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 2.5rem;
    margin: 1rem;
    box-shadow: var(--shadow-light);
    border-left: 4px solid var(--accent-gold);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--accent-gold);
    opacity: 0.2;
    line-height: 1;
}

.client-info {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gold-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-weight: bold;
    color: var(--primary-navy);
}

.client-details h4 {
    color: var(--heading-gray);
    margin-bottom: 0.25rem;
}

.client-details p {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

/* Footer - Enhanced */
.footer {
    background: var(--primary-navy);
    color: var(--clean-white);
    padding: 70px 0 30px;
}

.footer h4 {
    color: var(--accent-gold);
    font-family: var(--font-accent);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--clean-white);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover::before {
    opacity: 1;
    left: -20px;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-navy);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    background: var(--clean-white);
    color: var(--accent-gold);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .service-card {
        margin-bottom: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0;
        min-height: 60vh;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .btn-premium,
    .btn-outline-premium {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.animate-slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.animate-slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

/* Utility Classes */
.gold-text {
    color: var(--accent-gold) !important;
}

.navy-bg {
    background-color: var(--primary-navy) !important;
}

.gold-bg {
    background: var(--gold-gradient) !important;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.mb-5 {
    margin-bottom: 3rem;
}