/* 
 * SAINT Studio - Minimalist Dark Edition
 * Aesthetic: Zara/Prada DARK (Black & White, Sharp, Editorial)
 */

@import url('https://fonts.googleapis.com/css2?family=Helvetica+Neue:wght@400;700&family=Inter:wght@300;400;600&display=swap');

:root {
    /* Colors - Strict Monochrome Inverted */
    --bg-color: #000000;
    --text-color: #ffffff;
    --accent-color: #ffffff;
    --border-color: #333333;
    --surface-color: #111111;

    /* Layout */
    --container-width: 1200px;
    --header-height: 60px;
    --section-spacing: 80px;

    /* Typography */
    --font-heading: 'Helvetica Neue', 'Arial', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Reset & Base Overrides for Bootstrap */
* {
    border-radius: 0 !important;
    /* GLOBAL SHARP EDGES */
}

body {
    font-family: var(--font-body) !important;
    background-color: var(--bg-color) !important;
    color: var(--text-color) !important;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    font-size: 0.95rem;
    position: relative;
    /* Slightly smaller body text */
}

/* Fixed background for better mobile support */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background-image: linear-gradient(rgba(0, 0, 0, 0.699), rgba(0, 0, 0, 0.699)), url('../src/fond2.jpg');
    background-size: 100% 100%;
    /* Forces image to fit screen exactly (unzoomed) */
    background-position: center;
    background-repeat: no-repeat;
    /* Ensures background stays fixed while content scrolls */
    pointer-events: none;
}

.container {
    max-width: var(--container-width) !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    color: var(--text-color) !important;
}

a {
    text-decoration: none !important;
    color: inherit !important;
    transition: var(--transition);
}

img {
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

img:hover {
    filter: grayscale(0%);
}

/* Custom Utilities */
.section {
    padding: var(--section-spacing) 0;
    border-bottom: 1px solid var(--border-color);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
}

.nav-links {
    display: flex;
    gap: 30px;
    margin: 0 !important;
    padding: 0 !important;
}

.nav-links li {
    list-style: none;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    position: relative;
    padding: 5px 0;
    color: #ccc !important;
}

.nav-link:hover,
.nav-link.active {
    color: white !important;
}

.menu-toggle {
    display: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: white;
}

/* Hero */
.hero {
    height: 85vh;
    /* Slightly reduced height */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: var(--header-height);
    background: transparent;
    text-align: center;
}

.hero-title {
    font-size: 5vw;
    /* Much smaller than 8vw */
    margin-bottom: 20px;
    line-height: 1;
    letter-spacing: -1px;
}

.hero-title span {
    display: block;
    font-style: italic;
    font-weight: 400;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 60px;
    color: #888;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    display: inline-block;
    padding: 15px 50px;
    background: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    font-weight: 600;
    border: 1px solid rgb(255, 255, 255);
    transition: var(--transition);
}

.btn-primary:hover {
    background: rgb(255, 255, 255);
    color: #000 !important;
    border-color: white;
}

/* Services */
.section-header {
    margin-bottom: 50px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.section-title {
    font-size: 2rem;
    /* Reduced from 3rem */
    margin-bottom: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* Smaller min width */
    border-top: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
}

.service-card {
    padding: 40px 30px;
    /* Reduced from 60px 40px */
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 250px;
    /* Reduced height */
    text-align: center;
}

.service-card:hover {
    background: #111;
}

.service-icon {
    font-size: 1.5rem;
    /* Smaller icon */
    margin-bottom: 20px;
    color: white;
}

.service-card p {
    font-size: 0.9rem;
    color: #888;
    max-width: 250px;
}

/* Studio */
.studio-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--border-color);
}

.studio-content {
    padding: 50px 40px;
    /* Reduced from 80px 60px */
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.studio-visual {
    height: 100%;
    min-height: 400px;
    /* Reduced height */
    border-left: 1px solid var(--border-color);
}

.studio-visual-bg img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.studio-features {
    margin-top: 40px;
    border-top: 1px solid var(--border-color);
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

/* Gallery */
.gallery-nav {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 60px;
    border-bottom: 1px solid var(--border-color);
}

.gallery-btn {
    padding: 15px 40px;
    background: transparent;
    border: none;
    text-transform: uppercase;
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: white;
    opacity: 0.5;
    transition: var(--transition);
}

.gallery-btn.active,
.gallery-btn:hover {
    opacity: 1;
    border-bottom: 2px solid white;
}

.gallery-grid {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.gallery-grid.active {
    display: grid;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    background: #111;
}

.gallery-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 3/4;
}

/* Contact - Side by Side */
.contact-detail-row {
    margin-bottom: 30px;
    border-left: 2px solid white;
    padding-left: 20px;
}

.contact-detail-row h4 {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-bottom: 5px;
}

.contact-detail-row p {
    font-size: 1rem;
    /* Reduced from 1.2rem */
    font-weight: 600;
    margin: 0;
}

.form-control {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid #444 !important;
    color: white !important;
    padding: 15px 0 !important;
    box-shadow: none !important;
}

.form-control:focus {
    border-bottom-color: white !important;
}

.form-control::placeholder {
    color: #555;
}

/* Footer */
footer {
    background: transparent;
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 20px 0;
}

.social-link {
    width: 40px;
    height: 40px;
    border: 1px solid #444;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-link:hover {
    background: white;
    color: black;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90vh;
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .studio-container {
        grid-template-columns: 1fr;
    }

    .studio-visual {
        order: -1;
        min-height: 400px;
    }

    .contact-info-side {
        text-align: center !important;
        margin-bottom: 40px;
    }

    .contact-detail-row {
        border-left: none;
        border-bottom: 1px solid #333;
        padding-bottom: 20px;
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        font-size: 1.8rem;
        /* Increased size */
        position: absolute;
        right: 4%;
        top: 50%;
        transform: translateY(-50%);
    }

    .hero-title {
        font-size: 3rem;
        /* Increased for mobile readability */
    }

    .nav-links {
        position: fixed;
        top: var(--header-height);
        right: 0;
        height: calc(100vh - var(--header-height));
        width: 100%;
        background: black;
        flex-direction: column;
        padding: 40px;
        transform: translateX(100%);
        transition: var(--transition);
        align-items: center;
        justify-content: center;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-link {
        font-size: 1.5rem !important;
        /* Larger text for mobile */
        margin: 10px 0;
        /* More spacing */
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 30px 20px;
        min-height: auto;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }

    .section-header {
        margin-bottom: 30px;
    }
}