﻿/* =======================
   GLOBAL STYLES
   ======================= */
/* === Modern Compact Footer === */
html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* ensures footer stays at bottom on short pages */
}

main {
    flex: 1; /* pushes footer down */
}

/* NAVBAR */
.navbar-custom {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background: #ffffffee;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e6e6e6;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: .5px;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

    .nav-link:hover {
        opacity: .75;
    }

/* FOOTER */
footer, .company-footer {
    background: #ffffff;
    border-top: 1px solid #ddd;
    padding: 1rem 0;
    margin-top: 3rem;
    font-size: .9rem;
    color: #555;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
}

/* SHADOWS */
.shadow-soft {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

/* =======================
   TYPOGRAPHY
   ======================= */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

a {
    color: #0077cc;
}

    a.navbar-brand {
        white-space: normal;
        text-align: center;
        word-break: break-all;
    }

/* =======================
   BUTTONS
   ======================= */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Luxury Buttons */
.btn-luxury-primary {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
    border: none;
    border-radius: 0.75rem;
    padding: 1rem 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1.1rem;
}

    .btn-luxury-primary::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
        transition: left 0.7s ease;
    }

    .btn-luxury-primary:hover::before {
        left: 100%;
    }

    .btn-luxury-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 35px rgba(255, 215, 0, 0.4);
    }

    .btn-luxury-primary:active {
        transform: translateY(-1px);
    }

.btn-luxury-secondary {
    background: transparent;
    border: 2px solid #ffd700;
    border-radius: 0.75rem;
    padding: 1rem 2.5rem;
    font-weight: 700;
    color: #ffd700;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1.1rem;
}

    .btn-luxury-secondary::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
        transition: left 0.7s ease;
    }

    .btn-luxury-secondary:hover::before {
        left: 100%;
    }

    .btn-luxury-secondary:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(255, 215, 0, 0.2);
        background: rgba(255, 215, 0, 0.1);
        color: #ffd700;
    }

    .btn-luxury-secondary:active {
        transform: translateY(-1px);
    }

.btn-icon {
    margin-right: 0.5rem;
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.btn-luxury-primary:hover .btn-icon, .btn-luxury-secondary:hover .btn-icon {
    transform: translateX(3px);
}

/* =======================
   HERO SECTIONS
   ======================= */
.luxury-hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(26,26,26,0.85) 0%, rgba(26,26,26,0.7) 100%), url('https://images.pexels.com/photos/373548/pexels-photo-373548.jpeg') center/cover no-repeat;
}

.hero-badge, .privacy-badge, .auth-badge {
    background: var(--bs-warning);
    color: var(--bs-dark);
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.display-title, .privacy-title, .auth-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--bs-light);
}

/* =======================
   COMPARISON SECTION
   ======================= */
.blinds-comparison {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.15);
}

.comparison-container {
    position: relative;
    height: 600px;
    background: #f8f9fa;
}

.comparison-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-before {
    z-index: 1;
}

.image-after {
    z-index: 2;
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.comparison-slider {
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    width: 4px;
    background: var(--bs-warning);
    transform: translateX(-50%);
    cursor: col-resize;
    z-index: 3;
    transition: left 0.1s ease;
}

    .comparison-slider::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 60px;
        height: 60px;
        background: var(--bs-warning);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        box-shadow: 0 0 2rem rgba(255,193,7,0.5);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .comparison-slider::after {
        content: '↔';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: var(--bs-dark);
        font-weight: bold;
        font-size: 1.5rem;
    }

.comparison-labels {
    position: absolute;
    top: 2rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 4;
    pointer-events: none;
}

.label-before, .label-after {
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 1rem;
    backdrop-filter: blur(10px);
}

.label-before {
    margin-right: auto;
}

.label-after {
    margin-left: auto;
}

.comparison-caption {
    text-align: center;
    margin-top: 2rem;
    color: var(--bs-secondary);
    font-size: 0.9rem;
}

/* =======================
   LUXURY CARDS
   ======================= */
.luxury-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 1rem;
    overflow: hidden;
}

    .luxury-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 1rem 3rem rgba(0,0,0,0.15) !important;
    }

/* =======================
   ACCORDIONS (PRIVACY / REGISTER)
   ======================= */
.luxury-accordion .accordion-item {
    border: none;
    margin-bottom: 1rem;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

    .luxury-accordion .accordion-item:hover {
        box-shadow: 0 8px 30px rgba(0,0,0,0.12);
        transform: translateY(-2px);
    }

.luxury-accordion .accordion-button {
    background: transparent;
    border: none;
    padding: 1.5rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--bs-dark);
    transition: all 0.3s ease;
}

    .luxury-accordion .accordion-button:not(.collapsed) {
        background: linear-gradient(135deg, var(--bs-warning) 0%, #ffed4e 100%);
        color: var(--bs-dark);
        box-shadow: 0 4px 15px rgba(255,193,7,0.3);
    }

    .luxury-accordion .accordion-button::after {
        transform: scale(1.2);
    }

.luxury-accordion .accordion-body {
    padding: 2rem;
    background: rgba(255,255,255,0.8);
}

/* =======================
   BENEFIT ITEMS
   ======================= */
.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.benefit-icon {
    background: var(--bs-warning);
    color: var(--bs-dark);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: bold;
}

/* =======================
   AUTH PAGES
   ======================= */
.auth-hero {
    background: linear-gradient(135deg, rgba(26,26,26,0.9) 0%, rgba(26,26,26,0.8) 100%), url('https://images.pexels.com/photos/373548/pexels-photo-373548.jpeg') center/cover no-repeat;
    padding: 4rem 0;
    color: white;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.auth-card {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.auth-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.8);
}

    .auth-form .form-control:focus {
        border-color: var(--bs-warning);
        box-shadow: 0 0 0 0.2rem rgba(255,193,7,0.1);
        background: white;
    }

.btn-auth-primary {
    background: linear-gradient(135deg, var(--bs-warning) 0%, #e0a800 100%);
    border: none;
    border-radius: 0.75rem;
    padding: 1rem 2rem;
    font-weight: 700;
    color: var(--bs-dark);
    transition: all 0.3s ease;
    width: 100%;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .btn-auth-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(255,193,7,0.3);
    }

.auth-divider {
    display: flex;
    align-items: center;
    margin: 2rem 0;
    color: var(--bs-secondary);
}

    .auth-divider::before, .auth-divider::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid var(--bs-border-color);
    }

    .auth-divider span {
        padding: 0 1rem;
        font-size: 0.9rem;
    }

.auth-link {
    color: var(--bs-warning);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .auth-link:hover {
        text-decoration: underline;
    }

.validation-summary-errors {
    background: rgba(220,53,69,0.1);
    border: 1px solid rgba(220,53,69,0.2);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

    .validation-summary-errors ul {
        margin-bottom: 0;
        padding-left: 1rem;
    }

.text-danger {
    color: #dc3545 !important;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* =======================
   PRIVACY PAGE
   ======================= */
.privacy-hero {
    background: linear-gradient(135deg, rgba(26,26,26,0.9) 0%, rgba(26,26,26,0.8) 100%), url('https://images.pexels.com/photos/373548/pexels-photo-373548.jpeg') center/cover no-repeat;
    padding: 4rem 0;
    color: white;
}

.privacy-content ul {
    list-style: none;
    padding-left: 0;
}

.privacy-content li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
}

    .privacy-content li::before {
        content: '✓';
        position: absolute;
        left: 0;
        color: var(--bs-warning);
        font-weight: bold;
        font-size: 1.1rem;
    }

.contact-highlight {
    background: linear-gradient(135deg, var(--bs-warning) 0%, #ffed4e 100%);
    color: var(--bs-dark);
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
}

.card.shadow-soft {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .card.shadow-soft:hover {
        transform: translateY(-5px);
        box-shadow: 0 1rem 2rem rgba(0,0,0,0.15);
    }

.btn-luxury-primary {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
    color: #1a1a1a;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 0.75rem;
    transition: all 0.4s ease;
}

    .btn-luxury-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
    }

/* === Modern Compact Footer === */
.footer-modern {
    font-size: 1rem; /* Increased text size */
    line-height: 1.5;
    background: #1a1a1a; /* Dark background */
    color: #f8f9fa; /* Light text */
    border-top: 1px solid #333;
}

    .footer-modern .text-warning {
        color: #ffd700 !important;
    }

    .footer-modern a {
        color: #ffd700;
        text-decoration: none;
        transition: opacity 0.2s ease;
    }

        .footer-modern a:hover {
            opacity: 0.8;
            text-decoration: underline;
        }

    .footer-modern .footer-company h5 {
        font-weight: 700;
        margin-bottom: 0.25rem;
        font-size: 1.1rem; /* Slightly larger */
    }

    .footer-modern .footer-company p {
        margin-bottom: 0;
    }

    .footer-modern .footer-legal {
        font-size: 0.95rem; /* Slightly larger */
    }

@media (max-width: 576px) {
    .footer-modern .footer-company h5 {
        font-size: 1rem;
    }

    .footer-modern .footer-company p,
    .footer-modern .footer-legal {
        font-size: 0.85rem;
    }
}
/* =======================
   RESPONSIVE
   ======================= */
@media (max-width: 768px) {
    .luxury-hero {
        min-height: 80vh;
        text-align: center;
        padding: 2rem 0;
    }

    .display-title {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }

    .comparison-container {
        height: 400px;
    }

    .comparison-slider::before {
        width: 50px;
        height: 50px;
    }

    .comparison-labels {
        padding: 0 1rem;
        top: 1rem;
    }

    .label-before, .label-after {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }

    .comparison-container {
        height: 400px;
    }

    .luxury-accordion .accordion-button {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }

    .luxury-accordion .accordion-body {
        padding: 1.5rem;
    }

    .contact-highlight {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }

    .btn-luxury-primary, .btn-luxury-secondary {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
    }

    .cta-group {
        flex-direction: column;
        align-items: center;
        gap: 1rem !important;
    }

    .privacy-hero, .auth-hero {
        padding: 3rem 0;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .comparison-container {
        height: 300px;
    }

    .comparison-slider::before {
        width: 40px;
        height: 40px;
    }

    .comparison-slider::after {
        font-size: 1.2rem;
    }

    .comparison-labels {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .label-before, .label-after {
        margin: 0;
        width: fit-content;
    }
}

/* Stretched card styling */
.quote-card {
    border-left: 5px solid transparent;
    transition: 0.2s ease;
}

    .quote-card:hover {
        background: #fafafa;
        transform: scale(1.01);
    }

    /* Highlight unread */
    .quote-card.unread {
        border-left-color: #f0ad4e;
    }

@media (max-width: 768px) {
    .quote-card {
        padding: .5rem;
    }
}