/* 
 * Himalaya Climate Control - Premium HVAC Theme
 * Color Palette: Deep Navy, Cool White, Ice Blue, Steel Grey
 * Typography: Inter (Body), Outfit (Headings)
 */

:root {
    --primary-color: #0A192F; /* Deep Navy */
    --secondary-color: #FFFFFF; /* Cool White */
    --accent-color: #00E5FF; /* Ice Blue / Cyan */
    --supporting-color: #8892B0; /* Steel Grey */
    --dark-bg: #020C1B;
    --card-bg: rgba(10, 25, 47, 0.85);
    --border-color: rgba(0, 229, 255, 0.15);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--secondary-color);
    background-color: var(--dark-bg);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .brand-name {
    font-family: var(--font-heading);
    font-weight: 700;
}

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

a:hover {
    color: #fff;
}

/* Base Styles */
section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.section-subtitle {
    color: var(--supporting-color);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Override Bootstrap's text-muted for better contrast on dark backgrounds */
.text-muted {
    color: #A0ABC0 !important;
}

/* Form Placeholders */
.form-control::placeholder, .form-select::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

/* Background Canvas */
#airflow-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-bg);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.loader-content {
    text-align: center;
}

.climate-icon {
    width: 60px;
    height: 60px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    margin: 0 auto 20px;
    position: relative;
    overflow: hidden;
    animation: spin 4s linear infinite;
}

.airflow-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
    left: 0;
}
.al-1 { top: 25%; transform: translateX(-100%); animation: flow 1.5s linear infinite; }
.al-2 { top: 50%; transform: translateX(-100%); animation: flow 1.5s linear infinite 0.5s; }
.al-3 { top: 75%; transform: translateX(-100%); animation: flow 1.5s linear infinite 1s; }

@keyframes flow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-text h2 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    letter-spacing: 2px;
}
.loader-text h2 span {
    font-weight: 300;
    color: var(--accent-color);
}
.loader-text p {
    font-size: 0.8rem;
    color: var(--supporting-color);
    letter-spacing: 4px;
}

/* Navbar */
.premium-nav {
    background: transparent;
    transition: all 0.4s ease;
    padding: 20px 0;
}

.premium-nav.scrolled {
    background: rgba(2, 12, 27, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(0, 229, 255, 0.1);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-name {
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: var(--secondary-color);
}

.brand-sub {
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: var(--accent-color);
    font-weight: 400;
}

.navbar-nav .nav-link {
    color: var(--secondary-color) !important;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

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

.dropdown-menu {
    background-color: var(--primary-color);
    border: 1px solid var(--border-color);
    border-radius: 0;
}

.dropdown-item {
    color: var(--supporting-color);
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background-color: rgba(0, 229, 255, 0.1);
    color: var(--accent-color);
}

.btn-nav-cta {
    background-color: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 8px 20px;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
    z-index: -1;
}

.btn-nav-cta:hover {
    color: var(--primary-color);
}

.btn-nav-cta:hover::before {
    left: 0;
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero/industrial-cooling-2.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}
/* Fallback if download failed */
.hero-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, var(--dark-bg) 0%, rgba(2, 12, 27, 0.7) 50%, rgba(2, 12, 27, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title span {
    display: block;
    color: transparent;
    -webkit-text-stroke: 1px var(--secondary-color);
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--supporting-color);
    max-width: 600px;
    margin-bottom: 40px;
}

.btn-primary {
    background-color: var(--accent-color);
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 0;
    padding: 12px 30px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: #fff;
    color: var(--primary-color);
}

.btn-outline-light {
    border-radius: 0;
    padding: 11px 30px;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    transition: all 0.3s;
}

.btn-outline-light:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* Quick Enquiry Bar */
.quick-enquiry {
    background-color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
    padding: 30px 0;
    position: relative;
    z-index: 5;
    margin-top: -5px; /* Pull up slightly */
}

.quick-enquiry .form-control, .quick-enquiry .form-select {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--secondary-color);
    border-radius: 0;
}

.quick-enquiry .form-control:focus, .quick-enquiry .form-select:focus {
    border-color: var(--accent-color);
    box-shadow: none;
    background-color: rgba(255, 255, 255, 0.1);
}

.quick-enquiry .btn {
    width: 100%;
}

/* Premium Cards */
.feature-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 0;
    background-color: var(--accent-color);
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 229, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.feature-card:hover::before {
    height: 100%;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.feature-desc {
    color: var(--supporting-color);
    font-size: 0.95rem;
    margin: 0;
}

/* Services / Solutions Grid */
.service-box {
    position: relative;
    height: 350px;
    overflow: hidden;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(2, 12, 27, 1) 0%, rgba(2, 12, 27, 0.4) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    transition: all 0.3s ease;
}

.service-number {
    position: absolute;
    top: 30px;
    right: 30px;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.service-box:hover .service-img {
    transform: scale(1.1);
}

.service-box:hover .service-overlay {
    background: linear-gradient(to top, rgba(2, 12, 27, 0.9) 0%, rgba(10, 25, 47, 0.7) 100%);
}

.service-box:hover .service-number {
    color: var(--accent-color);
    -webkit-text-stroke: 1px var(--accent-color);
}

.service-box h4 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.3rem;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.service-box p {
    color: var(--supporting-color);
    font-size: 0.9rem;
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.1s;
}

.service-box:hover h4, .service-box:hover p {
    transform: translateY(0);
    opacity: 1;
}

/* HVAC Selector Interactive */
.hvac-selector-wrap {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 50px;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.selector-step {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.selector-step.active {
    display: block;
}

.selector-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.selector-btn {
    background: transparent;
    border: 1px solid var(--supporting-color);
    color: var(--secondary-color);
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.selector-btn:hover, .selector-btn.selected {
    background: rgba(0, 229, 255, 0.1);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* Footer */
.premium-footer {
    background-color: var(--primary-color);
    padding: 80px 0 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand h4 {
    color: var(--secondary-color);
    letter-spacing: 2px;
}

.footer-brand h4 span {
    color: var(--accent-color);
    font-weight: 300;
}

.footer-desc {
    color: var(--supporting-color);
    font-size: 0.9rem;
    margin-top: 20px;
}

.footer-heading {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.footer-links, .footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--supporting-color);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact li {
    color: var(--supporting-color);
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
    margin-top: 50px;
}

.copyright {
    color: var(--supporting-color);
    font-size: 0.85rem;
    margin: 0;
}

.footer-legal {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.footer-legal a {
    color: var(--supporting-color);
    font-size: 0.85rem;
}

.footer-legal a:hover {
    color: #fff;
}

/* Cookie Banner & Modal */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 25, 47, 0.95);
    border-top: 1px solid var(--accent-color);
    padding: 20px 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.cookie-text {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin: 0;
}

.cookie-modal .modal-content {
    background-color: var(--primary-color);
    border: 1px solid var(--border-color);
    border-radius: 0;
}

.cookie-modal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-modal .modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Page Header */
.page-header {
    padding: 150px 0 80px;
    background-color: var(--primary-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* Process Section */
.process-steps {
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
    padding: 30px 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    margin: 0 auto 20px;
}

/* Contact Form */
.contact-form-wrap {
    background: var(--card-bg);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-label {
    font-size: 0.85rem;
    color: var(--supporting-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-control, .form-select {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--secondary-color);
    border-radius: 0;
    padding: 12px 15px;
}

.form-control:focus, .form-select:focus {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-color);
    color: var(--secondary-color);
    box-shadow: none;
}

.form-text {
    color: var(--supporting-color);
    font-size: 0.8rem;
}

/* Dark theme form elements adjustments */
option {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

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

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item {
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
.gallery-item:hover img {
    transform: scale(1.1);
}
