/* style.css */

/* Variables */
:root {
    --primary-color: #0f172a; /* slate-900 */
    --secondary-color: #1e293b; /* slate-800 */
    --accent-color: #fbbf24; /* amber-400 */
    --accent-light: #fef3c7; /* amber-100 */
    --text-main: #0f172a; /* slate-900 */
    --text-light: #64748b; /* slate-500 */
    --text-muted: #94a3b8; /* slate-400 */
    --bg-light: #f8fafc; /* slate-50 */
    --bg-white: #ffffff;
    --border-color: #e2e8f0; /* slate-200 */
    --border-dark: #334155; /* slate-700 */
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    color: var(--text-main);
    line-height: 1.625;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Classes */
.container {
    width: 100%;
    max-width: 1024px; /* match w-[1024px] bounds */
    margin: 0 auto;
    padding: 0 48px; /* px-12 equivalent */
}

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

.section {
    padding: 60px 0;
}

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

.section-title {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 24px;
    font-weight: 700;
    letter-spacing: -0.025em;
    text-transform: uppercase;
}

.title-underline {
    width: 48px;
    height: 4px;
    background-color: var(--accent-color);
    margin-bottom: 32px;
}

.title-underline.center {
    margin: 0 auto 32px auto;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 48px auto;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    background-color: var(--bg-white);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: -0.025em;
}

.logo a::before {
    content: "X";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    color: #ffffff;
    font-family: serif;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-menu ul {
    display: flex;
    gap: 32px; /* gap-8 */
}

.nav-menu ul li a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.875rem; /* text-sm */
    text-transform: uppercase;
    letter-spacing: 0.1em; /* tracking-widest */
}

.nav-menu ul li a:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--secondary-color);
    cursor: pointer;
    user-select: none;
}

/* Hero Section */
.hero {
    position: relative;
    height: 70vh;
    min-height: 480px;
    display: flex;
    align-items: center;
    background-image: url('https://vzncapital.com.au/images/2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-top: var(--header-height);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* brightness-[0.4] */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    color: #ffffff;
    max-width: 672px; /* max-w-2xl */
}

.hero-content::before {
    content: '';
    display: block;
    width: 48px;
    height: 4px;
    background-color: var(--accent-color);
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: 3rem; /* text-5xl approximate */
    font-weight: 300; /* font-light */
    line-height: 1.25; /* leading-tight */
    margin-bottom: 24px;
}

.hero-content h1 span {
    font-weight: 600;
    font-style: italic;
    color: var(--accent-light);
}

.hero-content p {
    font-size: 1.125rem;
    color: #cbd5e1; /* slate-300 */
    line-height: 1.625;
    margin-bottom: 32px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

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

.btn-primary:hover {
    background-color: #f59e0b; /* amber-500 */
}

/* About Section */
.about {
    background-color: var(--bg-white);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 48px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 16px;
    color: var(--text-light);
    font-size: 1rem;
}

.about-image {
    flex: 1;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.about-image img {
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.about-image:hover img {
    filter: grayscale(0%);
}

/* Services Section */
.services {
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--bg-white);
    padding: 32px;
    border-top: 4px solid var(--secondary-color);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.service-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.025em;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

/* Gallery Section */
.gallery {
    background-color: var(--bg-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    margin-top: 40px;
}

.gallery-item {
    height: 240px;
    background-color: #eee;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
}

.gallery-item:hover {
    filter: grayscale(0%);
}

/* Contact Section */
.contact {
    background-color: var(--bg-light);
}

.contact-card {
    background-color: var(--bg-white);
    padding: 48px;
    border-top: 4px solid var(--secondary-color);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin: 0 auto;
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 32px;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
    min-width: 250px;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.info-details h4 {
    color: var(--text-light);
    font-size: 0.625rem; /* text-[10px] */
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.info-details p, .info-details a {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.875rem; /* text-sm */
}

.info-details a:hover {
    color: var(--accent-color);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--text-muted);
    padding: 32px 0;
    border-top: 1px solid var(--border-dark);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-logo {
    font-size: 0.625rem; /* text-[10px] */
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    margin-bottom: 4px;
}

.footer-copyright {
    font-size: 0.75rem; /* text-xs */
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 991px) {
    .about-container {
        flex-direction: column;
    }
    
    .about-image {
        width: 100%;
        max-width: 600px;
        order: -1;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        padding: 24px 0;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        display: none;
    }
    
    .nav-menu.active {
        display: block;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    
    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .section {
        padding: 48px 0;
    }
    
    .contact-card {
        padding: 32px 24px;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

