/* ========================================
   BLUEPRINT - ARCHITECTURE & REAL ESTATE
   Elegant, Minimal, Architectural Design
   ======================================== */

:root {
    /* Neutral Palette */
    --black: #0D0D0D;
    --dark: #1A1A1A;
    --gray-dark: #333333;
    --gray: #666666;
    --gray-light: #999999;
    --cream: #F5F3EF;
    --white: #FFFFFF;
    --accent: #B8860B;

    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Work Sans', sans-serif;

    /* Spacing */
    --section-padding: 8rem 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--cream);
    color: var(--dark);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
}

::selection {
    background: var(--accent);
    color: var(--white);
}

/* ========================================
   WATERMARK
   ======================================== */
.watermark {
    position: fixed;
    bottom: 30px;
    right: 30px;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: rgba(13, 13, 13, 0.08);
    text-transform: uppercase;
    pointer-events: none;
    z-index: 9999;
    writing-mode: vertical-rl;
}

/* ========================================
   GRID BACKGROUND
   ======================================== */
.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.grid-bg .line.vertical {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(0, 0, 0, 0.04);
}

.grid-bg .line.vertical:nth-child(1) {
    left: 20%;
}

.grid-bg .line.vertical:nth-child(2) {
    left: 40%;
}

.grid-bg .line.vertical:nth-child(3) {
    left: 60%;
}

.grid-bg .line.vertical:nth-child(4) {
    left: 80%;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--black);
}

h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1.1;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
}

h3 {
    font-size: 1.4rem;
}

.italic {
    font-style: italic;
    color: var(--accent);
}

p {
    color: var(--gray);
    font-weight: 300;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
    position: relative;
    z-index: 1;
}

/* ========================================
   NAVIGATION
   ======================================== */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(245, 243, 239, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.4s;
}

nav.scrolled {
    background: rgba(245, 243, 239, 0.98);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.05);
}

.logo {
    font-family: var(--font-body);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--black);
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-dark);
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-cta {
    padding: 0.8rem 1.8rem;
    background: var(--black);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.nav-cta:hover {
    background: var(--accent);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--black);
    transition: 0.3s;
}

/* ========================================
   HERO SLIDER
   ======================================== */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
}

.hero-slider {
    height: 100%;
}

.swiper-slide {
    position: relative;
    overflow: hidden;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 6s ease-out;
}

.swiper-slide-active .slide-bg {
    transform: scale(1.05);
}

.slide-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: var(--white);
    max-width: 600px;
    z-index: 10;
}

.slide-number {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 1rem;
    font-style: italic;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.slide-content h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.slide-content h1 .italic {
    color: var(--accent);
}

.slide-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.slide-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.slide-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.slide-meta i {
    width: 16px;
    height: 16px;
}

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 3rem;
    right: 10%;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    z-index: 20;
}

.slider-prev,
.slider-next {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

.slider-prev i,
.slider-next i {
    width: 20px;
    height: 20px;
}

.slider-progress {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--white);
    font-family: var(--font-display);
    font-style: italic;
}

.progress-bar {
    width: 80px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
}

.progress {
    height: 100%;
    background: var(--accent);
    width: 33%;
    transition: width 0.3s;
}

/* Hero Scroll */
.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 5%;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 20;
}

.hero-scroll span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.6);
}

.scroll-line {
    width: 50px;
    height: 1px;
    background: linear-gradient(to right, var(--accent), transparent);
    animation: scrollPulse 1.5s infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

/* ========================================
   STATS BAND
   ======================================== */
.stats-band {
    display: flex;
    justify-content: center;
    gap: 5rem;
    padding: 4rem 5%;
    background: var(--black);
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    font-style: italic;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   SECTION STYLES
   ======================================== */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 1rem;
}

.section-header {
    margin-bottom: 3rem;
}

/* ========================================
   PROJECTS SECTION
   ======================================== */
.projects-section {
    padding: var(--section-padding);
}

.filters {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    background: transparent;
    border: 1px solid #ddd;
    color: var(--gray);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--black);
    border-color: var(--black);
    color: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.project-card {
    position: relative;
    overflow: hidden;
}

.project-card.large {
    grid-column: span 2;
}

.project-card a {
    display: block;
    position: relative;
}

.project-image {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.project-card.large .project-image {
    height: 450px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 2rem;
    color: var(--white);
    z-index: 10;
}

.project-cat {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 0.5rem;
    display: block;
}

.project-info h3 {
    color: var(--white);
    margin-bottom: 0.3rem;
    font-size: 1.5rem;
}

.project-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.project-arrow {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 10;
}

.project-card:hover .project-arrow {
    opacity: 1;
    transform: translateY(0);
}

.project-arrow i {
    width: 20px;
    height: 20px;
    color: var(--black);
}

.projects-cta {
    text-align: center;
    margin-top: 4rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    background: var(--black);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: var(--accent);
}

.btn-primary i {
    width: 18px;
    height: 18px;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services-section {
    padding: var(--section-padding);
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    padding: 3rem 2rem;
    background: var(--cream);
    position: relative;
    transition: all 0.4s;
}

.service-card:hover {
    background: var(--black);
    color: var(--white);
}

.service-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-family: var(--font-display);
    font-size: 3rem;
    font-style: italic;
    color: rgba(0, 0, 0, 0.05);
    transition: color 0.4s;
}

.service-card:hover .service-number {
    color: rgba(255, 255, 255, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--black);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: all 0.4s;
}

.service-card:hover .service-icon {
    background: var(--accent);
}

.service-icon i {
    width: 28px;
    height: 28px;
}

.service-card h3 {
    margin-bottom: 1rem;
    transition: color 0.4s;
}

.service-card:hover h3 {
    color: var(--white);
}

.service-card p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    transition: color 0.4s;
}

.service-card:hover p {
    color: rgba(255, 255, 255, 0.7);
}

.service-card ul {
    list-style: none;
}

.service-card li {
    font-size: 0.85rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: border-color 0.4s;
}

.service-card:hover li {
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   STUDIO SECTION
   ======================================== */
.studio-section {
    padding: var(--section-padding);
}

.studio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.studio-images {
    position: relative;
}

.img-main {
    width: 100%;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 50%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border: 6px solid var(--cream);
}

.studio-content h2 {
    margin-bottom: 1.5rem;
}

.studio-content>p {
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

.studio-values {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.value-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.value-item i {
    width: 24px;
    height: 24px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 3px;
}

.value-item strong {
    display: block;
    color: var(--black);
    margin-bottom: 0.2rem;
}

.value-item span {
    font-size: 0.9rem;
    color: var(--gray);
}

/* ========================================
   TESTIMONIAL SECTION
   ======================================== */
.testimonial-section {
    padding: 6rem 0;
    background: var(--black);
}

.testimonial-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
}

.quote-icon {
    font-family: var(--font-display);
    font-size: 8rem;
    color: var(--accent);
    line-height: 0.5;
    opacity: 0.5;
}

.testimonial-content blockquote {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.author-name {
    font-weight: 500;
}

.author-project {
    font-size: 0.85rem;
    color: var(--accent);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    padding: var(--section-padding);
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-content h2 {
    margin-bottom: 1.5rem;
}

.contact-content>p {
    margin-bottom: 2.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-item i {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.info-item a:hover {
    color: var(--accent);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid #ddd;
    background: var(--cream);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
}

.contact-form button {
    align-self: flex-start;
    cursor: pointer;
    border: none;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 5rem 0 0;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    font-size: 1.8rem;
    color: var(--white);
    display: block;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.footer-col h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.footer-col a {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.8rem;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal a:hover {
    color: var(--accent);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 5rem 0;
    }

    .projects-grid {
        grid-template-columns: 1fr 1fr;
    }

    .project-card.large {
        grid-column: span 2;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .studio-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .studio-images {
        order: 2;
    }

    .img-secondary {
        right: 0;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .slide-content {
        left: 5%;
        right: 5%;
    }

    .slider-nav {
        right: 5%;
    }

    .stats-band {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .stat-item {
        flex: 1 1 40%;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card.large {
        grid-column: span 1;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .slide-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .slider-nav {
        bottom: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .testimonial-content blockquote {
        font-size: 1.3rem;
    }
}