/* Interior Elegance CSS - Custom Styles for Conekin's Interior Accents */

/* Cookie Consent Banner Styles */
.cookie-consent-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(55, 65, 81, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 24px;
    z-index: 1000;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(156, 163, 175, 0.2);
    max-width: 480px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .cookie-consent-banner {
        left: auto;
        right: 20px;
        max-width: 420px;
        margin: 0;
    }
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 640px) {
    .cookie-content {
        flex-direction: row;
        align-items: flex-start;
        gap: 20px;
    }
}

.cookie-text {
    flex: 1;
}

.cookie-text h4 {
    color: #F5F1EA;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    font-family: Georgia, serif;
}

.cookie-text p {
    color: #9CA3AF;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.cookie-links {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.cookie-links a {
    color: #D97706;
    font-size: 13px;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.cookie-links a:hover {
    color: #F59E0B;
}

.cookie-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 120px;
}

@media (min-width: 640px) {
    .cookie-buttons {
        flex-direction: row;
        gap: 8px;
        min-width: auto;
    }
}

.btn-accept,
.btn-decline {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    white-space: nowrap;
}

.btn-accept {
    background-color: #D97706;
    color: white;
}

.btn-accept:hover {
    background-color: #B45309;
    transform: translateY(-1px);
}

.btn-decline {
    background-color: transparent;
    color: #9CA3AF;
    border: 1px solid #4B5563;
}

.btn-decline:hover {
    background-color: #374151;
    color: #F5F1EA;
    border-color: #6B7280;
}

/* Hide cookie banner when accepted/declined */
.cookie-consent-banner.hidden {
    display: none;
}

/* Design-specific utility classes */
.design-hero-showcase {
    background: linear-gradient(135deg, #F5F1EA 0%, #FEFCF7 100%);
    position: relative;
}

.design-hero-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23D97706" fill-opacity="0.03"><circle cx="30" cy="30" r="2"/></g></svg>') repeat;
    pointer-events: none;
}

.interior-expertise-grid {
    background: linear-gradient(135deg, #F5F1EA 0%, #FEFCF7 50%, #F5F1EA 100%);
}

.client-appreciation {
    background: linear-gradient(135deg, #F5F1EA 0%, #FEFCF7 100%);
    position: relative;
}

.client-appreciation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%239CA3AF" fill-opacity="0.02"><rect x="0" y="0" width="20" height="20"/></g></svg>') repeat;
    pointer-events: none;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

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

/* Enhanced hover effects for interactive elements */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Custom scrollbar styles */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #F5F1EA;
}

::-webkit-scrollbar-thumb {
    background: #D97706;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #B45309;
}

/* Loading animation for images */
img {
    transition: opacity 0.3s ease;
}

img[loading="lazy"] {
    opacity: 0;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Print styles */
@media print {
    .cookie-consent-banner,
    header,
    footer,
    nav,
    button {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: #fff;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: #000;
        page-break-after: avoid;
    }
    
    p, li {
        orphans: 3;
        widows: 3;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    a[href^="http"]:after {
        content: " (" attr(href) ")";
        font-size: 10pt;
        color: #666;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .cookie-consent-banner {
        background: #000;
        border: 2px solid #fff;
    }
    
    .cookie-text h4,
    .cookie-text p {
        color: #fff;
    }
    
    .btn-accept {
        background: #fff;
        color: #000;
        border: 2px solid #000;
    }
    
    .btn-decline {
        background: #000;
        color: #fff;
        border: 2px solid #fff;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hover-lift:hover {
        transform: none;
    }
}

/* Dark mode support (if implemented) */
@media (prefers-color-scheme: dark) {
    /* Dark mode styles would go here if needed */
}

/* Custom utility classes for consistent spacing */
.section-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media (min-width: 768px) {
    .section-padding {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

/* Enhanced button styles */
.btn-primary {
    background: linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #B45309 0%, #D97706 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(217, 119, 6, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid #374151;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #374151;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(55, 65, 81, 0.2);
}