/* Custom Properties / Color Palette */
:root {
    --color-obsidian: #0b0c0e;
    --color-gold: #c5a880;
    --color-gold-hover: #b3956d;
    --color-offwhite: #f5f5f7;
    --color-muted: #8e929a;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

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

body {
    background-color: var(--color-obsidian);
    color: var(--color-offwhite);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--color-gold);
}

a {
    color: var(--color-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(11, 12, 14, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(197, 168, 128, 0.2);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-offwhite);
}

.brand-logo a:hover {
    color: var(--color-gold);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-nav a {
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-offwhite);
}

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

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

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-offwhite);
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(11, 12, 14, 0.4), rgba(11, 12, 14, 0.9));
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    max-width: 900px;
    padding: 0 2rem;
    text-align: center;
    margin-top: 5rem;
    position: relative;
    z-index: 2;
}

.hero-headline {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.hero-blurb {
    font-size: 1.1rem;
    color: var(--color-offwhite);
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: rgba(11, 12, 14, 0.5);
    backdrop-filter: blur(5px);
}

.cta-button:hover {
    background: var(--color-gold);
    color: var(--color-obsidian);
}

/* Services Section */
.services-section {
    padding: 8rem 2rem;
    background-color: var(--color-obsidian);
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background-color: var(--color-gold);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.service-card {
    padding: 3rem 2rem;
    border: 1px solid rgba(197, 168, 128, 0.2);
    transition: transform 0.4s ease, border-color 0.4s ease;
    background: linear-gradient(145deg, rgba(255,255,255,0.02) 0%, rgba(0,0,0,0) 100%);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-gold);
}

.service-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.service-desc {
    color: var(--color-muted);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-link {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    margin-top: auto;
}

.service-link::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-link::after {
    transform: translateX(5px);
}

/* Footer */
.site-footer {
    background-color: #050607;
    padding: 6rem 2rem 3rem;
    border-top: 1px solid rgba(197, 168, 128, 0.1);
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-brand h2 {
    font-size: 2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.footer-nav {
    margin-bottom: 3rem;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav a {
    color: var(--color-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-imprint {
    color: var(--color-muted);
    font-size: 0.85rem;
}

.footer-imprint .copyright {
    margin-top: 1rem;
    opacity: 0.7;
}

/* Inner Page Styles */
.inner-page-header {
    padding: 12rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(to bottom, rgba(11, 12, 14, 1), rgba(11, 12, 14, 0.95));
    border-bottom: 1px solid rgba(197, 168, 128, 0.1);
}

.inner-page-title {
    font-size: 3.5rem;
    letter-spacing: 2px;
}

.inner-page-content {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.split-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(197, 168, 128, 0.2);
}

.split-text p {
    font-size: 1.15rem;
    color: var(--color-offwhite);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

/* Gallery Styles */
.gallery-section {
    padding: 2rem 2rem 6rem;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid rgba(197, 168, 128, 0.2);
    aspect-ratio: 1 / 1;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Form Styles */
.contact-form-section {
    padding: 6rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.02);
    padding: 4rem;
    border: 1px solid rgba(197, 168, 128, 0.2);
    border-radius: 4px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: var(--font-heading);
    color: var(--color-gold);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.form-control {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(197, 168, 128, 0.3);
    color: var(--color-offwhite);
    padding: 0.8rem 0;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-bottom-color: var(--color-gold);
}

.form-control::placeholder {
    color: rgba(245, 245, 247, 0.3);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: var(--color-obsidian);
    cursor: pointer;
}

.submit-btn {
    align-self: flex-start;
    background: transparent;
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
    padding: 1rem 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.submit-btn:hover {
    background: var(--color-gold);
    color: var(--color-obsidian);
}

/* Media Queries */
@media (max-width: 992px) {
    .hero-headline {
        font-size: 3rem;
    }
    
    .split-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--color-obsidian);
        padding: 6rem 2rem;
        transition: right 0.4s ease;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .hero-headline {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Provisioning Collage Grid */
.provisioning-collage {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 15px;
    width: 100%;
    height: auto;
    min-height: 500px;
}

.provisioning-collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s ease;
}

.provisioning-collage img:hover {
    transform: scale(1.02);
}

.provisioning-collage-large {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.provisioning-collage-top {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.provisioning-collage-bottom {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

@media (max-width: 768px) {
    .provisioning-collage {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .provisioning-collage-large, .provisioning-collage-top, .provisioning-collage-bottom {
        grid-column: 1 / -1;
        grid-row: auto;
        min-height: 250px;
    }
}
