/* ===========================
   MARMOMAR - CSS Styles
   ========================== */

/* ===========================
   CSS RESET & BASE
   ========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Cormorant Garamond', serif;
    color: #625344;
    background-color: #efedea;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ===========================
   LAYOUT & GRID
   ========================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.col {
    flex: 1;
}

.col.span_3 {
    flex: 0 0 25%;
    max-width: 25%;
}

.col.span_9 {
    flex: 0 0 75%;
    max-width: 75%;
}

.col_last {
    margin-left: auto;
}

/* ===========================
   HEADER & NAVIGATION
   ========================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(7, 7, 6, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

header .container {
    max-width: 100%;
    padding: 0 60px;
}

#logo {
    display: block;
    max-width: 180px;
}

#logo img {
    width: 100%;
    height: auto;
}

/* Navigation Menu */
nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.sf-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.menu-item a {
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
}

.menu-item a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: #c4b5a0;
    transition: width 0.3s ease;
}

.menu-item a:hover::after {
    width: 100%;
}

.menu-item a:hover {
    color: #c4b5a0;
}

/* Mobile Menu Toggle */
.slide-out-widget-area-toggle {
    display: none;
}

.menu-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.lines-button {
    display: inline-block;
    width: 25px;
    height: 20px;
    position: relative;
}

.lines-button .lines,
.lines-button .lines::before,
.lines-button .lines::after {
    display: block;
    width: 25px;
    height: 2px;
    background: #ffffff;
    transition: all 0.3s ease;
}

.lines-button .lines {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.lines-button .lines::before,
.lines-button .lines::after {
    content: '';
    position: absolute;
    left: 0;
}

.lines-button .lines::before {
    top: -8px;
}

.lines-button .lines::after {
    bottom: -8px;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ===========================
   HERO SECTION
   ========================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #070706;
}

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

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(7, 7, 6, 0.4) 0%, rgba(7, 7, 6, 0.7) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #ffffff;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(40px, 8vw, 120px);
    font-weight: 300;
    letter-spacing: 20px;
    margin-bottom: 20px;
    line-height: 1;
}

.hero-subtitle {
    font-size: clamp(50px, 10vw, 150px);
    font-weight: 700;
    letter-spacing: 10px;
    line-height: 0.9;
    margin-bottom: 30px;
}

.hero-tagline {
    font-size: clamp(24px, 4vw, 60px);
    font-weight: 300;
    letter-spacing: 15px;
}

/* Hero Social Links */
.hero-social {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.hero-social-link {
    writing-mode: vertical-rl;
    color: #ffffff;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 400;
    transition: all 0.3s ease;
}

.hero-social-link:hover {
    color: #c4b5a0;
    letter-spacing: 4px;
}

/* ===========================
   MISSION SECTION
   ========================== */
.mission {
    padding: 120px 0;
    background: #efedea;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.mission-title {
    font-size: clamp(24px, 3vw, 42px);
    font-weight: 600;
    line-height: 1.3;
    color: #070706;
    letter-spacing: 1px;
}

.mission-description {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.8;
    color: #625344;
}

/* ===========================
   INSPIRATION SECTION
   ========================== */
.inspiration {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #efedea;
}

.inspiration-text {
    padding: 100px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.inspiration-title {
    font-size: clamp(32px, 5vw, 70px);
    font-weight: 700;
    line-height: 1.1;
    color: #070706;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.inspiration-description {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.8;
    color: #625344;
}

.inspiration-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===========================
   SHOWROOM SECTION
   ========================== */
.showroom {
    background: #070706;
    color: #ffffff;
    padding: 120px 0;
}

.showroom-label {
    font-size: 14px;
    letter-spacing: 3px;
    text-align: center;
    margin-bottom: 20px;
    color: #c4b5a0;
}

.showroom-title {
    font-size: clamp(50px, 8vw, 120px);
    font-weight: 700;
    text-align: center;
    letter-spacing: 10px;
    margin-bottom: 80px;
    color: #ffffff;
}

.showroom-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.showroom-image img {
    width: 100%;
    height: auto;
}

.showroom-subtitle {
    font-size: clamp(28px, 4vw, 50px);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.showroom-description {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.8;
    color: #c4b5a0;
}

/* ===========================
   COLLECTIONS SECTION
   ========================== */
.collections {
    background: #efedea;
    padding: 120px 0;
}

.collections-label {
    font-size: 14px;
    letter-spacing: 3px;
    text-align: center;
    margin-bottom: 20px;
    color: #625344;
}

.collections-title {
    font-size: clamp(50px, 8vw, 120px);
    font-weight: 700;
    text-align: center;
    letter-spacing: 10px;
    margin-bottom: 80px;
    color: #070706;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.collection-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.collection-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.collection-card:hover img {
    transform: scale(1.1);
}

.collection-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(7, 7, 6, 0.9), transparent);
}

.collection-name {
    color: #ffffff;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 600;
    letter-spacing: 3px;
}

.collections-info {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.collections-description {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.8;
    margin-bottom: 30px;
    color: #625344;
}

.collections-quote {
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 600;
    line-height: 1.4;
    margin: 60px 0;
    color: #070706;
    letter-spacing: 1px;
}

.collections-link {
    display: inline-block;
    padding: 15px 40px;
    border: 2px solid #070706;
    color: #070706;
    font-size: 14px;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.collections-link:hover {
    background: #070706;
    color: #ffffff;
}

/* ===========================
   DESIGN SECTION
   ========================== */
.design {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #efedea;
}

.design-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.design-content {
    padding: 100px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.design-title {
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 700;
    line-height: 1.1;
    color: #070706;
    margin-bottom: 50px;
    letter-spacing: 2px;
}

.design-text p {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.8;
    margin-bottom: 25px;
    color: #625344;
}

.design-link {
    display: inline-block;
    padding: 15px 40px;
    border: 2px solid #070706;
    color: #070706;
    font-size: 14px;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    margin-top: 30px;
    width: fit-content;
}

.design-link:hover {
    background: #070706;
    color: #ffffff;
}

/* ===========================
   FOOTER
   ========================== */
.footer {
    background: #070706;
    color: #ffffff;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    max-width: 200px;
    margin-bottom: 30px;
}

.footer-tagline {
    font-size: 16px;
    line-height: 1.8;
    color: #c4b5a0;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a,
.footer-contact a {
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    color: #ffffff;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #c4b5a0;
}

.footer-address {
    margin-top: 30px;
    font-size: 14px;
    line-height: 1.8;
    color: #c4b5a0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(196, 181, 160, 0.2);
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    font-size: 12px;
    letter-spacing: 1px;
    color: #c4b5a0;
    transition: all 0.3s ease;
}

.footer-legal a:hover {
    color: #ffffff;
}

.footer-copyright {
    font-size: 12px;
    color: #c4b5a0;
}

/* ===========================
   COLECCIONES PAGE STYLES
   ========================== */
.colecciones-hero {
    padding: 200px 0 120px;
    background: #efedea;
    text-align: center;
}

.colecciones-hero-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.colecciones-hero-title {
    font-size: clamp(40px, 7vw, 100px);
    font-weight: 700;
    line-height: 1.1;
    color: #070706;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.colecciones-hero-description {
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.8;
    color: #625344;
}

.collection-section {
    padding: 100px 0;
}

.collection-section:nth-child(odd) {
    background: #efedea;
}

.collection-section:nth-child(even) {
    background: #ffffff;
}

.collection-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.collection-grid.reverse {
    direction: rtl;
}

.collection-grid.reverse > * {
    direction: ltr;
}

.collection-image {
    position: relative;
}

.collection-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.collection-image .collection-name {
    position: absolute;
    bottom: 40px;
    left: 40px;
    font-size: clamp(40px, 5vw, 70px);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 5px;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.5);
}

.collection-name-left {
    font-size: clamp(40px, 5vw, 70px);
    font-weight: 700;
    color: #070706;
    letter-spacing: 5px;
    margin-bottom: 30px;
}

.collection-subtitle {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 600;
    color: #070706;
    margin-bottom: 30px;
    line-height: 1.3;
}

.collection-text {
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.9;
    color: #625344;
}

.collection-text p {
    margin-bottom: 25px;
}

.collection-link {
    display: inline-block;
    padding: 15px 40px;
    border: 2px solid #070706;
    color: #070706;
    font-size: 14px;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    margin-top: 30px;
}

.collection-link:hover {
    background: #070706;
    color: #ffffff;
}

/* CTA Section */
.cta-section {
    background: #070706;
    color: #ffffff;
    padding: 100px 0;
}

.cta-content {
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 0 60px;
    text-align: center;
}

.cta-title {
    font-size: clamp(28px, 4vw, 50px);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 1px;
}

.cta-form-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 60px;
}

.cta-form-title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
}

.cta-subtitle {
    display: block;
    color: #c4b5a0;
    font-weight: 400;
    margin-bottom: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #c4b5a0;
    background: rgba(255, 255, 255, 0.15);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #c4b5a0;
    cursor: pointer;
}

.checkbox-label input {
    width: auto;
    cursor: pointer;
}

.submit-btn {
    padding: 15px 50px;
    background: #c4b5a0;
    color: #070706;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: center;
}

.submit-btn:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(196, 181, 160, 0.3);
}

/* ===========================
   MOBILE MENU
   ========================== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 7, 6, 0.98);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    text-align: center;
    position: relative;
    max-width: 500px;
    padding: 40px;
}

.mobile-menu-close {
    position: absolute;
    top: 0;
    right: 20px;
    font-size: 50px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    color: #c4b5a0;
    transform: rotate(90deg);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}

.mobile-nav-link {
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    color: #c4b5a0;
    letter-spacing: 4px;
}

.mobile-social {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid rgba(196, 181, 160, 0.2);
}

.mobile-social-link {
    color: #c4b5a0;
    font-size: 14px;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.mobile-social-link:hover {
    color: #ffffff;
}

/* ===========================
   ANIMATIONS
   ========================== */
.fade-element {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-element.fade-in {
    opacity: 1;
    transform: translateY(0);
}

img {
    transition: opacity 0.5s ease;
}

img.loaded {
    opacity: 1;
}

/* ===========================
   RESPONSIVE DESIGN
   ========================== */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    header .container {
        padding: 0 40px;
    }

    .mission-grid,
    .inspiration,
    .showroom-content,
    .design,
    .collection-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .inspiration-text,
    .design-content {
        padding: 60px 40px;
    }

    .hero-social {
        right: 30px;
        gap: 20px;
    }

    .collections-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-legal {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    /* Show mobile menu toggle */
    .slide-out-widget-area-toggle {
        display: block;
    }

    /* Hide desktop navigation */
    nav {
        display: none;
    }

    header .row {
        justify-content: space-between;
    }

    .col.span_3,
    .col.span_9 {
        flex: 0 0 auto;
        max-width: none;
    }

    #logo {
        max-width: 140px;
    }

    .hero-title {
        letter-spacing: 10px;
    }

    .hero-subtitle {
        letter-spacing: 5px;
    }

    .hero-tagline {
        letter-spacing: 8px;
    }

    .hero-social {
        display: none;
    }

    .mission,
    .showroom,
    .collections {
        padding: 80px 0;
    }

    .inspiration-text,
    .design-content {
        padding: 60px 30px;
    }

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

    .collection-grid {
        padding: 0 30px;
        gap: 40px;
    }

    .cta-content,
    .cta-form-section {
        padding: 0 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    header .container {
        padding: 0 20px;
    }

    #logo {
        max-width: 120px;
    }

    .mission-grid {
        gap: 30px;
    }

    .inspiration-text,
    .design-content {
        padding: 40px 20px;
    }

    .showroom-content {
        gap: 30px;
    }

    .footer {
        padding: 60px 0 30px;
    }

    .footer-grid {
        gap: 30px;
    }

    .collection-grid {
        padding: 0 20px;
    }

    .cta-content,
    .cta-form-section {
        padding: 0 20px;
    }

    .mobile-nav-link {
        font-size: 20px;
    }
}

/* ===========================
   PERFORMANCE & ACCESSIBILITY
   ========================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid #c4b5a0;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    header,
    .hero-social,
    .mobile-menu-overlay {
        display: none;
    }
}
