:root {
    --color-primary: #a80808;
    --logo-scale-factor: 1.5;
    /* New variable to control logo size */
    --color-text: #2c2c2c;
    --color-text-light: #666;
    --color-bg: #ffffff;
    --color-bg-light: #f9f9f9;
    --color-bg-dark: #1a1a1a;
    --font-main: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --nav-height: 140px;
    /* Increased nav height again to fit larger logo */
    --nav-scrolled-height: 140px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-bg);
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-serif);
    font-weight: 400;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.subtitle {
    display: block;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--color-primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.accent-text {
    font-style: normal;
    /* Removed italic */
    color: #fff;
    /* kept white in hero */
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--color-bg-light);
}

.bg-dark {
    background-color: var(--color-bg-dark);
    color: #fff;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: transparent;
    /* Transparent background for hero overlap */
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    /* Box shadow removed initially for clean transparent look */
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    height: var(--nav-scrolled-height);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav.scrolled .nav-container {
    align-items: center;
}

nav.scrolled .nav-links {
    margin-top: 0;
}

.logo-link img {
    height: 220px;
    /* Increased logo size */
    /* New logo is PNG, assuming it needs inversion for white on dark hero */
    /* If the uploaded logo is ALREADY white text, remove invert */
    /* Assuming standard black text logo uploaded */
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.logo-link .logo-mini {
    display: none;
}

nav.scrolled .logo-maxi {
    display: none;
}

nav.scrolled .logo-link img {
    filter: none;
    /* Revert to original black logo on scroll */
}

nav.scrolled .logo-mini {
    display: block;
    height: 120px;
    position: relative;
    top: 0;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    /* White text for transparent header */
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

nav.scrolled .nav-links a {
    color: var(--color-text);
}

.nav-links a:hover {
    color: var(--color-primary);
}

/* Hero Section */
#hero {
    height: 100vh;
    width: 100%;
    position: relative;
    background-color: #333;
    /* Darker overlay (0.6 opacity) for less intensity */
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('hero-bg.jpg');
    background-size: cover;
    background-position: center;
    /* Placeholder gradient */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero-content p {
    color: #f0f0f0;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--color-primary);
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: background-color 0.3s;
    cursor: pointer;
}

.btn:hover {
    background-color: #8a0606;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}

.bg-dark .btn-outline {
    border-color: #fff;
    color: #fff;
}

.bg-dark .btn-outline:hover {
    background-color: #fff;
    color: var(--color-text);
}

/* Split Layout */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.image-block .image-placeholder {
    width: 100%;
    height: 500px;
    background-color: #eee;
    background-image: url('095a9d8d-7672-442b-be3e-87e05fea0c87.png');
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    /* Slight rounded corners */
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.card {
    background: #fff;
    padding: 40px 30px;
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 3px solid transparent;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-top-color: var(--color-primary);
}

.card-icon {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: #eee;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 300px;
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
}

.img-content {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s;
}

.gallery-item:hover .img-content {
    transform: scale(1.05);
}

.accent-text {
    font-size: 0.7em;
    /* Reduce font size relative to h1 */
    display: block;
    /* Ensure it behaves well with the break */
    margin-top: 10px;
}

/* Contact Form */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-bottom-color: var(--color-primary);
}

/* Footer */
footer {
    padding: 40px 0;
    background-color: #111;
    color: #888;
    font-size: 0.9rem;
    border-top: 1px solid #222;
}

.footer-content {
    display: flex;
    justify-content: space-between;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    margin-left: 20px;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.visible {
    opacity: 1;
    transform: translate(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* Mobile Menu */
.hamburger {
    display: none;
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #fff;
    z-index: 999;
    padding-top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu a {
    text-decoration: none;
    color: var(--color-text);
    font-size: 2rem;
    margin: 20px 0;
    font-family: var(--font-serif);
}

/* Responsive */
@media (max-width: 900px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-item.large {
        grid-column: span 2;
    }

    h1 {
        font-size: 2.5rem;
    }

    /* Mobile Nav */
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
        width: 30px;
        height: 20px;
        position: relative;
        z-index: 1001;
    }

    .hamburger span {
        display: block;
        width: 100%;
        height: 2px;
        background: #fff;
        position: absolute;
        transition: 0.3s;
    }

    .hamburger span:nth-child(1) {
        top: 0;
    }

    .hamburger span:nth-child(2) {
        top: 9px;
    }

    .hamburger span:nth-child(3) {
        top: 18px;
    }

    nav.scrolled .hamburger {
        margin-top: 0px;
    }

    nav.scrolled .hamburger span {
        background: var(--color-text);
    }

    /* Active hamburger */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg);
        top: 9px;
        background: var(--color-text);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg);
        top: 9px;
        background: var(--color-text);
    }
}

/* Process Section */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.step {
    background: #fff;
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s;
}

.step:hover {
    transform: translateY(-5px);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 40px;
    color: var(--color-text-light);
}

.section-intro p {
    margin-bottom: 15px;
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--color-primary);
    font-weight: 600;
}

.step p {
    font-size: 0.95rem;
    color: var(--color-text-light);
}

/* Blog Section */
.blog-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-img {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
}

.blog-content {
    padding: 25px;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.blog-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.read-more {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s;
    border-bottom: 1px solid transparent;
}

.read-more:hover {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}