/* 
  Theme Name: Gunvantlal J Shah & Co - Premium Financial Theme
  Author: Antigravity
  Description: Bespoke CSS for a high-end chartered accountancy brochure.
*/

:root {
    /* Palette */
    --color-bg-deep: #0B0E14;
    /* Deepest Midnight */
    --color-bg-card: #151A25;
    /* Slightly lighter for contrast */
    --color-text-main: #E2E8F0;
    /* Off-white for readability */
    --color-text-muted: #94A3B8;
    /* Slate grey */
    --color-gold-msg: #C6A87C;
    /* Muted Elegant Gold */
    --color-gold-hover: #D4B98C;
    --color-blue-accent: #1E3A8A;
    /* Royal Blue hints */

    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;

    /* Spacing */
    --spacing-container: 1200px;
    --header-height: 80px;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg-deep);
    color: var(--color-text-main);
    font-family: var(--font-sans);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    color: white;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    display: block;
}

/* Utility Containers */
.container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.text-gold {
    color: var(--color-gold-msg);
}

.uppercase {
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(11, 14, 20, 0.9);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-logo img {
    height: 60px;
    /* Increased slightly for detailed text logos */
    transition: transform 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-gold-msg);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-gold-msg);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 50%, #172033 0%, var(--color-bg-deep) 70%);
    overflow: hidden;
}

.hero-bg-accent {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(198, 168, 124, 0.05) 0%, transparent 60%);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
}

.hero-eyebrow {
    color: var(--color-gold-msg);
    font-size: 20px;
    letter-spacing: 3px;
    margin-bottom: 24px;
    display: block;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.2s;
}

.hero-title {
    font-size: 64px;
    margin-bottom: 24px;
    background: linear-gradient(to right, #fff, #94A3B8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.4s;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--color-text-muted);
    margin-bottom: 48px;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.6s;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    background: transparent;
    border: 1px solid var(--color-gold-msg);
    color: var(--color-gold-msg);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.btn:hover {
    background: var(--color-gold-msg);
    color: var(--color-bg-deep);
    box-shadow: 0 0 20px rgba(198, 168, 124, 0.3);
}

/* Sections */
.section-title {
    font-size: 42px;
    margin-bottom: 60px;
    text-align: center;
}

.industry-strip {
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 40px 0;
    background: rgba(255, 255, 255, 0.01);
}

.industry-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.industry-item {
    color: var(--color-text-muted);
    font-size: 15px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.industry-item:hover {
    color: var(--color-gold-msg);
}

/* Glass Cards (Services) */
.glass-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 4px;
    /* Sharp professional edges, or minimal radius */
    transition: transform 0.4s ease, border-color 0.4s ease;
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-gold-msg);
}

.card-icon {
    font-size: 32px;
    margin-bottom: 24px;
    color: var(--color-gold-msg);
}

.card-title {
    font-size: 24px;
    margin-bottom: 16px;
}

.card-text {
    color: var(--color-text-muted);
    font-size: 15px;
}

/* Timeline (Legacy) */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 1px;
    background: var(--glass-border);
}

.timeline-item {
    margin-bottom: 60px;
    padding-left: 60px;
    position: relative;
    opacity: 0;
    /* JS Trigger reveal */
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-marker {
    position: absolute;
    left: 14px;
    top: 5px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--color-gold-msg);
    box-shadow: 0 0 0 4px rgba(198, 168, 124, 0.2);
}

.timeline-year {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--color-gold-msg);
    margin-bottom: 10px;
}

/* Partner Profile */
.partner-card {
    background: var(--color-bg-card);
    border: 1px solid var(--glass-border);
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.partner-header {
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.partner-name {
    font-size: 32px;
    color: #fff;
}

.partner-degrees {
    color: var(--color-gold-msg);
    font-family: var(--font-serif);
    font-style: italic;
    margin-top: 5px;
}

/* Contact Form */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-block h3 {
    margin-bottom: 20px;
}

.contact-detail {
    margin-bottom: 24px;
    color: var(--color-text-muted);
}

.contact-detail strong {
    color: white;
    display: block;
    margin-bottom: 5px;
}

form label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
}

form input,
form textarea {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: white;
    margin-bottom: 24px;
    font-family: var(--font-sans);
}

form input:focus,
form textarea:focus {
    outline: none;
    border-color: var(--color-gold-msg);
}

/* Footer */
footer {
    background: #05080F;
    padding: 60px 0 30px;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-copy {
    text-align: center;
    font-size: 13px;
    color: var(--color-text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
}

/* Animations */
@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, -20px);
    }

    100% {
        transform: translate(0, 0);
    }
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero-title {
        font-size: 42px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    /* Simplified mobile handling needed */
    /* Add basic mobile menu logic later if needed or a simple stack */
    .mobile-menu-btn {
        display: block;
    }

    /* Assume existence */
}