/* ==========================================================================
   Components CSS - Brolik Theme
   ========================================================================== */

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: rgba(12, 12, 12, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.site-header.scrolled {
    background-color: rgba(12, 12, 12, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.5rem 0;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    font-family: var(--font-sans);
}

.site-logo-link {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.site-logo-link:hover {
    transform: scale(1.05);
}

.site-logo-link img,
.site-logo {
    height: 42px;
    width: auto;
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(197, 160, 89, 0.15));
}

.nav-links {
    display: none;
    align-items: center;
    gap: 1.25rem;
}

@media (min-width: 1280px) {
    .nav-links {
        gap: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover {
    color: #fff;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--color-primary);
}

.nav-cta {
    display: none;
}

@media (min-width: 1024px) {
    .nav-cta {
        display: block;
    }
}

.nav-cta .btn {
    padding: 0.625rem 1.5rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-corporate-blue-dark) 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.2);
}

.nav-cta .btn:hover {
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.3);
    transform: translateY(-2px);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }
}

.hamburger-line {
    width: 22px;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.mobile-menu-btn.open .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.open .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
    background: rgba(12, 12, 12, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-menu.open {
    display: flex;
}

.mobile-nav-link {
    font-size: 1.125rem;
    font-weight: 600;
    padding: 0.875rem 1rem;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    border-radius: 8px;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--color-primary);
    background: rgba(197, 160, 89, 0.1);
}

.mobile-cta {
    margin-top: 1rem;
    width: 100%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-corporate-blue-dark) 100%);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: var(--color-secondary);
    border-top: 1px solid var(--color-border);
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-description {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    max-width: 300px;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-nav a {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--color-primary);
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    transition: color 0.3s ease;
}

.contact-item:hover {
    color: var(--color-primary);
}

.contact-item .icon {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
    margin-bottom: 5rem;
    position: relative;
    z-index: 10;
}

.section-header--center {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header .badge {
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.6rem 1.2rem;
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.2);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: white;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3.5rem;
    }
}

.section-header__left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .section-header:not(.section-header--center) {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        gap: 2rem;
    }
}

.section-description {
    font-size: 1.125rem;
    color: var(--color-muted-foreground);
    max-width: 600px;
    line-height: 1.6;
    margin-top: 1rem;
}

.section-header--center .section-description {
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Icons
   ========================================================================== */
.icon {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    padding: 2rem;
}

.lightbox.open {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius);
}

/* ==========================================================================
   WhatsApp Float Button
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 100;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

/* ==========================================================================
   Form Elements
   ========================================================================== */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem 1rem;
    background-color: var(--color-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    color: var(--color-foreground);
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-muted-foreground);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   Toast / Notification
   ========================================================================== */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 1rem 1.5rem;
    background-color: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
}

/* ==========================================================================
   Glass Tech Cards & Decorative Elements
   ========================================================================== */
.glass-tech-card {
    position: absolute;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    z-index: 10;
    pointer-events: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: floating 4s ease-in-out infinite;
    min-width: 120px;
}

.glass-tech-card__label {
    display: block;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.glass-tech-card__value {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Specific positions for sections */
.mosaic-image-frame .glass-tech-card--1 { 
    top: -5%; 
    right: -5%; 
    left: auto;
    animation-delay: 0s; 
}
.mosaic-image-frame .glass-tech-card--2 { 
    bottom: 0%; 
    left: -5%; 
    top: auto;
    animation-delay: 1s; 
    height: 69px; 
}

.product-identity__image .glass-tech-card--1 { 
    top: 5%; 
    left: -10%; 
    animation-delay: 0.5s; 
}
.product-identity__image .glass-tech-card--2 { 
    bottom: 5%; 
    right: -10%; 
    left: auto;
    animation-delay: 1.5s; 
    margin-top: 0;
    height: auto;
    width: auto;
    min-width: 120px;
}

.design-image-wrapper .glass-tech-card--1 { top: 20%; left: -20%; animation-delay: 0.3s; }
.design-image-wrapper .glass-tech-card--2 { bottom: 20%; right: -20%; animation-delay: 2s; }

.badge--glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.625rem 1.25rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1024px) {
    .glass-tech-card {
        display: none;
    }
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast.success {
    border-color: #10b981;
}

.toast.error {
    border-color: #ef4444;
}

/* ==========================================================================
   Link Button
   ========================================================================== */
.link-button {
    color: var(--color-primary);
    background: none;
    border: none;
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.link-button:hover {
    opacity: 0.8;
}