/* LongPas Custom Styles */
:root {
    --primary-color: #E67E22; /* Warm amber orange */
    --primary-light: #F39C12; /* Golden amber */
    --primary-dark: #D35400; /* Deeper amber */
    --coral-color: #FF6B6B; /* Soft coral red */
    --warm-beige: #F7E7CE; /* Warm beige background */
    --cream: #FDF2E9; /* Light cream */
    --secondary-color: #FAF0E6; /* Linen background */
    --dark-color: #8B4513; /* Warm brown text */
    --light-color: #FFFEF7; /* Warm white */
    --gradient: linear-gradient(135deg, var(--primary-color), var(--coral-color));
    --amber-gradient: linear-gradient(135deg, #F39C12, #E67E22, #FF6B6B);
}

/* Global Styles */
* {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
}

.text-primary {
    color: var(--primary-color) !important;
}

.btn-primary {
    background: var(--gradient);
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(230, 126, 34, 0.3);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(230, 126, 34, 0.3);
}

/* Navigation */
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(255, 254, 247, 0.95) !important;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--cream) 0%, var(--warm-beige) 100%);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle, rgba(243, 156, 18, 0.08) 0%, transparent 70%);
}

.stats-row {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
}

.hero-visual {
    position: relative;
    padding: 2rem;
}

.light-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(243, 156, 18, 0.15) 0%, rgba(255, 107, 107, 0.08) 70%, transparent 100%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 3s ease-in-out infinite;
}

.tech-diagram {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.filter-representation {
    width: 200px;
    height: 20px;
    background: linear-gradient(90deg, #FFC649 0%, var(--primary-color) 50%, var(--coral-color) 100%);
    margin: 1rem auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.4);
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.4; }
}

/* Residential & Commercial Sections */
.residential-visual,
.commercial-visual {
    position: relative;
    padding: 2rem;
    text-align: center;
}

.deck-representation,
.cafe-representation {
    position: relative;
    padding: 2rem;
    background: rgba(243, 156, 18, 0.08);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.red-filter-overlay,
.ambient-lighting {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(243, 156, 18, 0.15) 0%, rgba(255, 107, 107, 0.1) 60%, transparent 80%);
    border-radius: 20px;
    animation: gentle-glow 4s ease-in-out infinite;
}

@keyframes gentle-glow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.9; }
}

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

.benefit-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    font-weight: 500;
}

/* Technology Section */
.spectrum-visualization {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.spectrum-section {
    text-align: center;
    padding: 1rem;
    border-radius: 10px;
    position: relative;
    min-width: 120px;
    transition: transform 0.3s ease;
}

.spectrum-section:hover {
    transform: translateY(-5px);
}

.spectrum-section.uv {
    background: linear-gradient(135deg, #8B00FF, #4B0082);
    color: white;
}

.spectrum-section.blue {
    background: linear-gradient(135deg, #0000FF, #1E90FF);
    color: white;
}

.spectrum-section.green {
    background: linear-gradient(135deg, #32CD32, #228B22);
    color: white;
}

.spectrum-section.red {
    background: linear-gradient(135deg, var(--coral-color), var(--primary-color));
    color: white;
    box-shadow: 0 5px 20px rgba(243, 156, 18, 0.4);
}

.spectrum-section.near-ir {
    background: linear-gradient(135deg, var(--primary-dark), #B8860B);
    color: white;
    box-shadow: 0 5px 20px rgba(211, 84, 0, 0.4);
}

.filter-effect {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    font-weight: bold;
    white-space: nowrap;
}

.comparison-table {
    background: var(--light-color);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.1);
    border: 1px solid var(--warm-beige);
}

/* About Section */
.about-visual {
    padding: 2rem;
}

.innovation-graphic {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.1), rgba(255, 107, 107, 0.05));
    border-radius: 20px;
    padding: 3rem 2rem;
}

.achievement-item {
    display: flex;
    align-items: center;
    font-weight: 500;
}

/* Contact Section */
.contact-form {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.1);
}

.form-control,
.form-select {
    border-radius: 10px;
    border: 2px solid var(--warm-beige);
    padding: 12px 15px;
    transition: all 0.3s ease;
    background: var(--cream);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(230, 126, 34, 0.25);
    background: var(--light-color);
}

/* Cards */
.card {
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--light-color);
    border: 1px solid var(--warm-beige);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(230, 126, 34, 0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
    .stats-row {
        justify-content: center;
        gap: 1rem;
    }
    
    .stat-item h3 {
        font-size: 1.5rem;
    }
    
    .spectrum-visualization {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .spectrum-section {
        min-width: 100px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-section {
        padding-top: 100px;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
}

@media (min-width: 992px) {
    .benefits-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card,
.benefit-item {
    animation: fadeInUp 0.6s ease forwards;
}

/* Utility Classes */
.shadow-soft {
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.1);
}

.bg-gradient-primary {
    background: var(--gradient);
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section Backgrounds */
section {
    position: relative;
}

section:nth-child(even) {
    background: var(--secondary-color);
}

section:nth-child(odd) {
    background: var(--cream);
}

#technology {
    background: var(--secondary-color) !important;
}

#residential {
    background: var(--secondary-color) !important;
}

/* Carousel Styling */
.hero-visual .carousel-indicators {
    bottom: -40px;
    margin-bottom: 0;
}

.hero-visual .carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background-color: rgba(230, 126, 34, 0.3);
    margin: 0 4px;
    transition: all 0.3s ease;
}

.hero-visual .carousel-indicators button.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.hero-visual .carousel-control-prev,
.hero-visual .carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.hero-visual .carousel-control-prev {
    left: -20px;
}

.hero-visual .carousel-control-next {
    right: -20px;
}

.hero-visual .carousel-control-prev:hover,
.hero-visual .carousel-control-next:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.95);
}

.hero-visual .carousel-control-prev-icon,
.hero-visual .carousel-control-next-icon {
    width: 16px;
    height: 16px;
    filter: invert(1);
}

.hero-visual .carousel-item img {
    aspect-ratio: 16/19;
    object-fit: cover;
}
