/* 
   LAMNERA V3 - TOP TIER | APPLE STYLE 
   Minimalist, Box-Shadows, Soft Colors, High Precision Typography
*/

:root {
    --text-primary: #1d1d1f;
    --text-light: #f5f5f7;
    --text-secondary: #86868b;
    --bg-page: #fbfbfd;
    --bg-card: #ffffff;
    --bg-dark: #1a1a1a;
    --accent-gold: #D4AF37;
    --accent-gold-hover: #b8962e;
    --border-light: rgba(0, 0, 0, 0.08);

    /* Shadows */
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-float: 0 20px 40px rgba(0, 0, 0, 0.15);

    /* Typography */
    --font-stack: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    /* Spacing */
    --section-gap: 120px;
    --container-max: 1200px;
}

/* RESET */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-page);
    color: var(--text-primary);
    font-family: var(--font-stack);
    -webkit-font-smoothing: antialiased;
    /* Critical for that crisp font look */
    line-height: 1.47059;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

/* GLOBAL NAV */
.global-nav {
    position: sticky;
    top: 0;
    width: 100%;
    height: 70px;
    backdrop-filter: saturate(180%) blur(20px);
    background-color: rgba(26, 26, 26, 0.95);
    z-index: 999;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.nav-content {
    max-width: var(--container-max);
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.brand-link {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--text-light);
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.brand-text {
    color: var(--text-light);
}

.nav-cta {
    font-size: 13px;
    font-weight: 600;
    background-color: var(--accent-gold);
    color: #000;
    padding: 8px 18px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-cta:hover {
    opacity: 0.8;
}

.button-nav {
    padding: 8px 20px;
    font-size: 14px;
}

.lang-btn {
    background: transparent;
    border: 1px solid #444;
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    transition: 0.3s;
    margin: 0 10px;
}

.lang-btn:hover {
    border-color: var(--accent-gold);
}

.inactive-lang {
    opacity: 0.5;
}

/* HERO SECTION */
.hero {
    padding-top: 140px;
    padding-bottom: 120px;
    text-align: center;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.headline {
    font-size: 64px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-light);
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .headline {
        font-size: 42px;
    }
}

.subhead {
    font-size: 24px;
    line-height: 1.4;
    font-weight: 400;
    color: #a1a1a6;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* BUTTONS */
.cta-group {
    display: flex;
    gap: 24px;
    justify-content: center;
    align-items: center;
}

.button {
    font-size: 17px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.01em;
    padding: 14px 28px;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0, 0, 0.5, 1);
}

.button-primary {
    background-color: var(--accent-gold);
    color: #1a1a1a;
}

.button-primary:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.button-text {
    color: var(--accent-gold);
    padding: 12px 10px;
    /* Just need click area */
    display: inline-flex;
    align-items: center;
}

.button-text:hover {
    text-decoration: underline;
}

.arrow-icon {
    font-size: 1.2em;
    margin-left: 4px;
    transform: translateY(-1px);
}

/* CARDS SECTION */
.benefits-section {
    padding: var(--section-gap) 0;
    background-color: #f5f5f7;
    /* Slightly darker grey for contrast against white cards */
}

.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 40px;
    line-height: 1.1;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
}

.card {
    background-color: var(--bg-card);
    border-radius: 24px;
    /* Distinctive large radius */
    padding: 48px;
    box-shadow: var(--shadow-soft);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
}

.card:hover {
    box-shadow: var(--shadow-float);
    transform: translateY(-5px);
    /* Floating effect */
}

/* Icon Styles */
.card-icon {
    color: var(--accent-gold);
    margin-bottom: 24px;
    background: var(--bg-dark);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.card-title {
    font-size: 28px;
    line-height: 1.14286;
    font-weight: 600;
    letter-spacing: 0.007em;
    margin-bottom: 16px;
}

.card-text {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    flex-grow: 1;
    /* Pushes link to bottom */
}

.card-link {
    color: var(--accent-gold);
    font-size: 17px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.card-link:hover {
    text-decoration: underline;
}

/* VALUE PROP */
.value-prop-section {
    padding: var(--section-gap) 0;
    text-align: center;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.value-headline {
    color: var(--text-light);
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
}

.value-text {
    color: #a1a1a6;
    font-size: 21px;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.highlight-box {
    border: 1px solid var(--accent-gold);
    border-radius: 12px;
    padding: 24px;
    display: inline-block;
    max-width: 600px;
    background: rgba(212, 175, 55, 0.05);
}

.highlight-box p {
    font-size: 19px;
    color: var(--text-light);
}

/* LOGO & BRAND */
.brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-logo-img {
    height: 32px;
    width: auto;
    display: block;
}

.brand-text {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
    opacity: 0.9;
    letter-spacing: -0.01em;
}

/* ... existing styles ... */

/* DETAIL SECTIONS */
.detail-section {
    padding: var(--section-gap) 0;
    background-color: var(--bg-page);
}

.detail-section.alt-bg {
    background-color: #f5f5f7;
}

.eyebrow-text {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--accent-gold);
    margin-bottom: 12px;
    display: block;
}

.detail-headline {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.detail-subhead {
    font-size: 21px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
}

.text-center {
    text-align: center;
}

/* Content Split Layout */
.content-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.content-split.reverse {
    direction: rtl;
    /* simple way to reverse grid, usually better to use grid areas or order */
}

.content-split.reverse .text-content {
    direction: ltr;
    /* reset text direction */
}

.text-content p {
    font-size: 19px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Visual Placeholders */
.visual-placeholder,
.projects-grid-placeholder {
    width: 100%;
}

.img-box {
    background-color: #e5e5e5;
    height: 400px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-weight: 500;
}

.projects-grid-placeholder {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.project-item {
    background-color: #ddd;
    height: 400px;
    border-radius: 4px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 20px;
    color: #fff;
    font-weight: 700;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    z-index: 0;
}

.project-item:hover .bg-image {
    transform: scale(1.1);
}

.project-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    z-index: 1;
}

.project-label {
    position: relative;
    z-index: 2;
    font-size: 24px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    color: var(--text-light);
}

.img-content {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    /* Slightly squarer radius for industrial look */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.visual-placeholder {
    height: 400px;
}

@media (max-width: 768px) {
    .content-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .content-split.reverse {
        direction: ltr;
    }

    .projects-grid-placeholder {
        grid-template-columns: 1fr;
    }
}

/* FOOTER */
.footer {
    background-color: var(--bg-dark);
    padding: 80px 0 40px;
    border-top: 1px solid #333;
    color: #888;
}

.footer-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
    text-align: left;
    /* Align left for cleaner look */
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer h4 {
    color: #fff;
    font-size: 14px;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.footer-link {
    display: block;
    color: #888;
    margin-bottom: 16px;
    font-size: 15px;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--accent-gold);
}

.footer-text {
    display: block;
    font-size: 15px;
    margin-bottom: 16px;
    color: #888;
    line-height: 1.5;
}

.footer-slogan {
    font-style: italic;
    color: var(--accent-gold);
    margin-top: 10px;
    margin-bottom: 24px;
}

/* Socials */
.social-links {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border: 1px solid #444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    transition: 0.3s;
}

.social-icon:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* Newsletter */
.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-input {
    background: #222;
    border: 1px solid #333;
    padding: 12px;
    color: #fff;
    border-radius: 4px 0 0 4px;
    flex-grow: 1;
    font-family: inherit;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.newsletter-btn {
    background: var(--accent-gold);
    border: none;
    color: #000;
    padding: 0 20px;
    font-weight: bold;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: 0.3s;
}

.newsletter-btn:hover {
    background: var(--accent-gold-hover);
}

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-nav-row {
    display: flex;
    gap: 30px;
}

.footer-nav-row a {
    color: #666;
    font-size: 14px;
    transition: 0.3s;
}

.footer-nav-row a:hover {
    color: #fff;
}

.copyright {
    font-size: 13px;
    color: #444;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ANIMATIONS & UX */

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease-in-out;
}

#preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader-logo {
    width: 60px;
    height: auto;
    animation: pulse-gold 2s infinite ease-in-out;
}

@keyframes pulse-gold {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}

/* Scroll Reveal Classes */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0, 0, 0.2, 1);
}

.reveal-fade {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.reveal-up.active,
.reveal-fade.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays if needed */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* Enhanced Hover Effects */
.card {
    /* Existing transition is good, ensuring it works seamlessly */
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.project-item {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.project-item:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    z-index: 10;
}

/* MODAL GALLERY */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.carousel-container {
    max-width: 90%;
    max-height: 85%;
    position: relative;
}

#modal-image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 80vh;
    border-radius: 4px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    display: block;
    margin: 0 auto;
}

.modal-caption {
    text-align: center;
    color: #aeaeae;
    margin-top: 15px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Modal Controls */
.close-modal,
.prev-slide,
.next-slide {
    position: absolute;
    color: #f1f1f1;
    font-weight: bold;
    font-size: 40px;
    transition: 0.3s;
    background: none;
    border: none;
    cursor: pointer;
    user-select: none;
    padding: 20px;
    z-index: 10001;
}

.close-modal {
    top: 20px;
    right: 30px;
    font-size: 50px;
}

.prev-slide {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.next-slide {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.close-modal:hover,
.prev-slide:hover,
.next-slide:hover {
    color: var(--accent-gold);
}


/* QUOTE SECTION */
.quote-section {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.quote-card {
    background: #222;
    border: 1px solid #333;
    border-radius: 20px;
    padding: 60px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.quote-header {
    text-align: center;
    margin-bottom: 40px;
}

.calculator-box {
    display: grid;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 14px;
    color: #888;
    font-weight: 500;
}

.form-input {
    background: #111;
    border: 1px solid #444;
    color: #fff;
    padding: 15px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    outline: none;
    transition: 0.3s;
}

.quick-measures {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.btn-quick {
    background: transparent;
    border: 1px solid #444;
    color: #aaa;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.btn-quick:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.form-input:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.calc-divider {
    height: 1px;
    background: #333;
    margin: 20px 0;
}

.result-box {
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.result-box.hidden {
    display: none;
}

.result-label {
    font-size: 14px;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.price-range {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.quote-benefits {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.benefit-item {
    font-size: 14px;
    color: #ddd;
    display: flex;
    align-items: center;
    gap: 6px;
}

.check-icon {
    color: var(--accent-gold);
    font-weight: bold;
}

.result-disclaimer {
    font-size: 12px;
    color: #666;
    margin-bottom: 25px;
}

.full-width {
    width: 100%;
    justify-content: center;
}

@media (max-width: 768px) {
    .quote-card {
        padding: 30px;
    }

    .price-range {
        font-size: 32px;
    }
}