/* Reset & Base */
:root {
    --primary-color: #D4AF37; /* Gold */
    --secondary-color: #1A1A1A; /* Dark Grey */
    --bg-color: #0F0F0F; /* Almost Black */
    --text-color: #F5F5F5; /* Off White */
    --text-muted: #A0A0A0;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --transition: all 0.4s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    display: inline-block;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 4rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
    background: linear-gradient(to bottom, rgba(15,15,15,0.9), rgba(15,15,15,0));
}

header.scrolled {
    background: rgba(15, 15, 15, 0.95);
    padding: 1rem 5%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.logo img {
    height: 40px;
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

.contact-btn {
    border: 1px solid var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    color: var(--primary-color);
}

.contact-btn:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
}

/* Mobile Menu */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Hero Section (Parallax) */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 110%; /* Extra height for parallax */
    background: url('../assets/hero.jpg') no-repeat center center/cover;
    z-index: -1;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 0;
}

.hero-content {
    z-index: 1;
    padding: 0 20px;
    transform: translateY(30px);
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.5s;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.btn-main {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--primary-color);
    color: var(--secondary-color);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: #fff;
    z-index: -1;
    transition: var(--transition);
}

.btn-main:hover::before {
    width: 100%;
}

/* Parallax Sections */
.parallax-section {
    padding: 8rem 5%;
    position: relative;
    overflow: hidden;
}

/* About Section */
.about {
    background: var(--secondary-color);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-img {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 4px;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-img:hover img {
    transform: scale(1.05);
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Features / Services */
.services {
    background: var(--bg-color);
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #151515;
    padding: 3rem 2rem;
    border: 1px solid #333;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-muted);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Parallax Break */
.parallax-break {
    height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?q=80&w=1920&auto=format&fit=crop') no-repeat center center/cover;
    background-attachment: fixed; /* Simple parallax for desktop */
}

.parallax-break-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}

.parallax-break-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.parallax-break-content h2 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Portfolio / Gallery */
.portfolio {
    background: var(--secondary-color);
    text-align: center;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.portfolio-item {
    position: relative;
    height: 300px;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    bottom: 0;
}

/* Contact */
.contact {
    background: var(--bg-color);
    text-align: center;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-item span {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-item a {
    font-size: 1.1rem;
}

.contact-item a:hover {
    color: var(--primary-color);
}

/* Footer */
footer {
    background: #000;
    padding: 2rem 5%;
    text-align: center;
    border-top: 1px solid #333;
}

footer p {
    color: #666;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 1001;
    }

    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: #111;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    }

    nav ul.active {
        right: 0;
    }

    .about {
        grid-template-columns: 1fr;
    }

    .about-img {
        height: 300px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .parallax-break {
        background-attachment: scroll; /* Disable fixed bg on mobile for performance */
    }
}
