/**
 * Main Stylesheet - LeadGenTax.au
 * Sophisticated, professional design: Black, Silver, Gold
 */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Lora:wght@400;600&display=swap');

:root {
    /* Color Palette - Luxury Professional */
    --black: #121212;
    --black-dark: #0a0a0a;
    --black-light: #1a1a1a;
    --silver: #C0C0C0;
    --silver-light: #E8E8E8;
    --silver-dark: #A0A0A0;
    --silver-bg: #F5F5F5;
    --gold: #D4AF37;
    --gold-light: #E8D5A3;
    --gold-dark: #B8941F;
    --gold-accent: #C9A961;
    --white: #FFFFFF;
    --text-dark: #2a2a2a;
    --text-light: #666666;
    
    /* Shadows */
    --shadow-sm: rgba(0, 0, 0, 0.1);
    --shadow-md: rgba(0, 0, 0, 0.2);
    --shadow-lg: rgba(0, 0, 0, 0.3);
    --shadow-gold: rgba(212, 175, 55, 0.2);
}

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

body {
    font-family: 'Lora', serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Navigation - Elegant & Minimal */
.navbar {
    background: var(--black);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled {
    padding: 15px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

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

.nav-brand a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.nav-brand a:hover {
    transform: scale(1.05);
}

.nav-logo {
    height: 50px;
    width: auto;
    display: block;
    transition: all 0.4s ease;
    position: relative;
    filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.2));
}

.nav-brand a:hover .nav-logo {
    filter: drop-shadow(0 4px 20px rgba(212, 175, 55, 0.6)) brightness(1.2);
    animation: shiny 1.5s ease-in-out infinite;
}

@keyframes shiny {
    0% {
        filter: drop-shadow(0 4px 20px rgba(212, 175, 55, 0.6)) brightness(1.2);
    }
    50% {
        filter: drop-shadow(0 4px 25px rgba(212, 175, 55, 0.8)) brightness(1.4) contrast(1.1);
    }
    100% {
        filter: drop-shadow(0 4px 20px rgba(212, 175, 55, 0.6)) brightness(1.2);
    }
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    color: var(--silver-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    padding: 10px 24px;
    border-radius: 0;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--gold);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow-gold);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: var(--gold);
    transition: 0.3s;
}

/* Hero Section - Spectacular & Minimal */
.hero {
    background: linear-gradient(135deg, var(--black) 0%, var(--black-dark) 50%, var(--black-light) 100%);
    color: var(--white);
    padding: 180px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(192, 192, 192, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
    color: var(--white);
    letter-spacing: -1px;
}

.hero-title .accent {
    color: var(--gold);
    display: block;
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 48px;
    color: var(--silver);
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 1.6;
}

.hero-cta {
    margin-top: 50px;
}

.cta-button {
    background: transparent;
    color: var(--gold);
    padding: 18px 48px;
    border: 2px solid var(--gold);
    border-radius: 0;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    position: relative;
    overflow: hidden;
    font-family: 'Lora', serif;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gold);
    transition: left 0.4s ease;
    z-index: -1;
}

.cta-button:hover {
    color: var(--black);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-gold);
}

.cta-button:hover::before {
    left: 0;
}

.cta-primary {
    font-size: 15px;
    padding: 20px 56px;
}

/* Stats Section - Elegant Display */
.stats-section {
    background: var(--black);
    padding: 100px 0;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    text-align: center;
}

.stat-item {
    padding: 40px 20px;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: 700;
    color: var(--gold);
    display: block;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-plus, .stat-percent, .stat-x {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: 700;
    color: var(--gold);
}

.stat-label {
    font-size: 16px;
    color: var(--silver);
    margin-top: 16px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

/* Section Styling */
.section {
    padding: 120px 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--black);
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 80px;
    font-weight: 300;
    letter-spacing: 0.5px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-dark {
    background: var(--black);
    color: var(--white);
}

.section-dark .section-title {
    color: var(--gold);
}

.section-dark .section-subtitle {
    color: var(--silver);
}

/* Services Section */
.services-section {
    background: var(--silver-bg);
    padding: 120px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card {
    background: var(--white);
    padding: 60px 40px;
    border: 1px solid var(--silver-light);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-accent));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--shadow-md);
    border-color: var(--gold);
}

.service-icon {
    font-size: 56px;
    margin-bottom: 30px;
    display: block;
    filter: grayscale(100%);
    transition: filter 0.4s ease;
}

.service-card:hover .service-icon {
    filter: grayscale(0%);
}

.service-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 20px;
}

.service-description {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 16px;
    font-weight: 300;
}

/* Case Study Section */
.case-study-section {
    background: var(--black);
    padding: 120px 0;
}

.case-study-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.case-study-before,
.case-study-after {
    background: var(--black-light);
    padding: 60px 40px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    text-align: center;
}

.case-study-after {
    border-color: var(--gold);
    background: linear-gradient(135deg, var(--black-light) 0%, rgba(212, 175, 55, 0.05) 100%);
}

.case-study-before h3,
.case-study-after h3 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--gold);
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.case-study-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.case-stat {
    text-align: center;
    padding: 30px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.case-stat.highlight {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold);
}

.case-stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--silver);
    display: block;
}

.case-stat.highlight .case-stat-number {
    color: var(--gold);
}

.case-stat-label {
    font-size: 14px;
    color: var(--silver-dark);
    margin-top: 12px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.case-stat-change {
    display: block;
    color: var(--gold);
    font-weight: 600;
    margin-top: 8px;
    font-size: 16px;
}

.case-study-arrow {
    font-size: 64px;
    color: var(--gold);
    font-weight: 300;
}

.case-study-testimonial {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 50px;
    background: var(--black-light);
    border-left: 4px solid var(--gold);
}

.testimonial-quote {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-style: italic;
    color: var(--silver-light);
    margin-bottom: 24px;
    line-height: 1.6;
}

.testimonial-author {
    font-size: 16px;
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--white);
    padding: 120px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.testimonial-card {
    background: var(--white);
    padding: 50px 40px;
    border: 1px solid var(--silver-light);
    transition: all 0.4s ease;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-family: 'Playfair Display', serif;
    font-size: 80px;
    color: var(--gold);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--shadow-md);
    border-color: var(--gold);
}

.testimonial-rating {
    color: var(--gold);
    font-size: 18px;
    margin-bottom: 24px;
    letter-spacing: 2px;
}

.testimonial-text {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 16px;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--silver-light);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    font-family: 'Playfair Display', serif;
}

.testimonial-name {
    font-weight: 600;
    color: var(--black);
    margin-bottom: 4px;
    font-size: 16px;
}

.testimonial-role {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 300;
}

/* Contact Section */
.contact-section {
    background: var(--black);
    padding: 120px 0;
}

.contact-section .section-title {
    color: var(--gold);
}

.contact-section .section-subtitle {
    color: var(--silver);
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 20px;
    border: 1px solid var(--silver);
    border-radius: 0;
    font-size: 16px;
    font-family: inherit;
    background: var(--black-light);
    color: var(--white);
    transition: all 0.3s ease;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--silver-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
}

.contact-form .cta-button {
    width: 100%;
    margin-top: 10px;
}

.form-message {
    margin-top: 20px;
    padding: 16px;
    border-radius: 0;
    text-align: center;
    display: none;
    border: 1px solid;
}

.form-message.success {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    border-color: var(--gold);
    display: block;
}

.form-message.error {
    background: rgba(255, 0, 0, 0.1);
    color: #ff6b6b;
    border-color: #ff6b6b;
    display: block;
}

/* Contact Pop-up */
.contact-popup {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--black);
    padding: 40px;
    border: 2px solid var(--gold);
    max-width: 450px;
    z-index: 2000;
    display: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.contact-popup.show {
    display: block;
}

.popup-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--gold);
    margin-bottom: 12px;
}

.popup-content p {
    color: var(--silver);
    margin-bottom: 30px;
    font-size: 15px;
    line-height: 1.6;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 32px;
    color: var(--silver);
    cursor: pointer;
    line-height: 1;
    padding: 5px;
    transition: color 0.3s;
}

.popup-close:hover {
    color: var(--gold);
}

.popup-content .contact-form {
    max-width: 100%;
}

.popup-content .form-row {
    grid-template-columns: 1fr;
}

.popup-content .form-group input {
    background: var(--black-light);
    border-color: rgba(212, 175, 55, 0.3);
}

.popup-content .form-group input:focus {
    border-color: var(--gold);
}

/* Footer */
.footer {
    background: var(--black-dark);
    color: var(--silver);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 60px;
}

.footer-section h3,
.footer-section h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 24px;
    font-size: 24px;
    color: var(--gold);
    font-weight: 600;
}

.footer-section h4 {
    font-size: 18px;
}

.footer-section p,
.footer-section a {
    color: var(--silver);
    text-decoration: none;
    line-height: 2;
    transition: color 0.3s;
}

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

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    color: var(--silver-dark);
    font-size: 14px;
}

/* Page Header (for sub-pages) */
.page-header {
    background: var(--black);
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.page-subtitle {
    font-size: 20px;
    color: var(--silver-light);
    font-weight: 300;
    letter-spacing: 1px;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Responsive Design */
@media (max-width: 968px) {
    .container {
        padding: 0 30px;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--black);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .case-study-content {
        grid-template-columns: 1fr;
    }
    
    .case-study-arrow {
        transform: rotate(90deg);
        margin: 20px 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-popup {
        right: 20px;
        left: 20px;
        max-width: none;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .page-title {
        font-size: 42px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 140px 0 80px;
        min-height: 70vh;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 32px;
    }
}
