:root {
    /* Solar-themed color palette */
    --primary-color: 210, 100%, 35%; /* #006ad1 - Primary blue */
    --primary-light: 210, 100%, 45%; /* #0087ff - Lighter blue */
    --primary-dark: 210, 100%, 25%; /* #004c99 - Darker blue */
    --secondary-color: 35, 100%, 50%; /* #ffaa00 - Solar yellow/orange */
    --secondary-light: 35, 90%, 65%; /* #ffc34d - Lighter yellow */
    --secondary-dark: 35, 100%, 40%; /* #cc8800 - Darker orange */
    --gray-dark: 210, 10%, 20%; /* #30353d - Dark gray with blue tint */
    --gray-medium: 210, 10%, 40%; /* #5f6672 - Medium gray */
    --gray-light: 210, 10%, 90%; /* #e6e8eb - Light gray */
    --white: 0, 0%, 100%; /* #ffffff - White */
    --black: 0, 0%, 0%; /* #000000 - Black */
    
    /* Typography */
    --font-primary: 'Roboto', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
    
    /* Layout */
    --section-padding: 6rem 0;
}

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

body {
    font-family: var(--font-primary);
    color: hsl(var(--gray-dark));
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    margin-bottom: 1rem;
}

a {
    color: hsl(var(--primary-color));
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: hsl(var(--primary-light));
}

.btn {
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: hsl(var(--primary-color));
    border-color: hsl(var(--primary-color));
}

.btn-primary:hover {
    background-color: hsl(var(--primary-dark));
    border-color: hsl(var(--primary-dark));
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.section-padding {
    padding: var(--section-padding);
}

.section-gray {
    background-color: hsl(var(--gray-light));
    background-image: linear-gradient(135deg, hsla(var(--gray-light), 0.8) 0%, hsla(var(--white), 0.8) 100%);
}

.section-title {
    margin-bottom: 3rem;
}

.section-title h2 {
    position: relative;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: hsl(var(--primary-dark));
}

.title-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, hsl(var(--primary-color)), hsl(var(--secondary-color)));
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    background-color: transparent;
}

.navbar.scrolled {
    background-color: hsla(var(--gray-dark), 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.7rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.6rem;
    color: hsl(var(--white));
}

.navbar-dark .navbar-nav .nav-link {
    color: hsla(var(--white), 0.8);
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: hsl(var(--white));
}

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

.navbar-dark .navbar-nav .nav-link:hover::after,
.navbar-dark .navbar-nav .nav-link.active::after {
    width: 70%;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.parallax-bg {
    transform: translateZ(0);
    will-change: transform;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, hsla(var(--black), 0.7), hsla(var(--black), 0.4));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: hsl(var(--white));
    padding-top: 70px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content .lead {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Features Section */
.feature-card {
    background-color: hsl(var(--white));
    border-radius: 10px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, hsl(var(--primary-light)), hsl(var(--primary-color)));
    color: hsl(var(--white));
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: hsl(var(--primary-dark));
}

/* Camera Types Section */
.camera-card {
    background-color: hsl(var(--white));
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.camera-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.camera-image {
    height: 250px;
    overflow: hidden;
}

.camera-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.camera-card:hover .camera-image img {
    transform: scale(1.05);
}

.camera-content {
    padding: 1.5rem;
}

.camera-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: hsl(var(--primary-dark));
}

.camera-content ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.camera-content ul li {
    margin-bottom: 0.5rem;
}

.camera-content ul li i {
    color: hsl(var(--secondary-color));
    margin-right: 0.5rem;
}

/* Applications Section */
.application-card {
    background-color: hsl(var(--white));
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.application-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.application-image {
    height: 200px;
    overflow: hidden;
}

.application-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.application-card:hover .application-image img {
    transform: scale(1.05);
}

.application-content {
    padding: 1.5rem;
}

.application-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: hsl(var(--primary-dark));
}

.application-content h3 i {
    color: hsl(var(--secondary-color));
    margin-right: 0.5rem;
}

/* Contact Section */
.contact-card {
    background-color: hsl(var(--white));
    border-radius: 10px;
    padding: 3rem 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-icon {
    width: 100px;
    height: 100px;
    line-height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, hsl(var(--primary-light)), hsl(var(--primary-color)));
    color: hsl(var(--white));
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: hsl(var(--primary-dark));
    display: block;
    margin: 1rem 0;
}

/* Footer */
.footer-section {
    background-color: hsl(var(--gray-dark));
    color: hsl(var(--white));
    padding: 3rem 0;
}

.footer-section h4 {
    color: hsl(var(--white));
    margin-bottom: 1rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: hsl(var(--primary-color));
    color: hsl(var(--white));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: hsl(var(--primary-dark));
    color: hsl(var(--white));
    transform: translateY(-5px);
}

/* Media Queries */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: hsla(var(--gray-dark), 0.95);
        padding: 1rem;
        border-radius: 5px;
        margin-top: 0.5rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content .lead {
        font-size: 1.2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .phone-number {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .section-padding {
        padding: 4rem 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content .lead {
        font-size: 1.1rem;
    }
    
    .phone-number {
        font-size: 1.8rem;
    }
    
    .feature-icon,
    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .section-padding {
        padding: 3rem 0;
    }
    
    .hero-section {
        min-height: 500px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content .lead {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .phone-number {
        font-size: 1.5rem;
    }
}
