/* ==========================================
   JETTHERM ENTERPRISES - GLOBAL STYLES
   ==========================================
   
   💡 TO CHANGE SITE-WIDE COLORS & ROUNDNESS:
   Update the values in the :root section below.
   All colors and roundness will automatically update!
   
   Current Brand Colors:
   - Primary Blue: #014380
   - Accent Orange: #f88910
   - White: #ffffff
   
   Border Radius (Roundness):
   - Small (5px): Buttons, inputs
   - Medium (10px): Small cards
   - Large (15px): Feature cards
   - Extra Large (20px): Sections
   - Full (50px): Pill buttons
   - Circle (50%): Profile images
   ========================================== */

:root {
    /* Primary Brand Colors */
    --primary-blue: #014380;
    /* Main brand blue */
    --primary-blue-dark: #012d5a;
    /* Darker shade for hovers */
    --primary-orange: #f88910;
    /* Accent orange */
    --primary-orange-dark: #d67209;
    /* Darker orange for hovers */
    --navy-dark: #014380;
    /* Using brand blue as navy */

    /* Neutral Colors */
    --white: #ffffff;
    --off-white: #f8f9fa;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --border-color: #e1e8ed;

    /* Typography */
    --font-main: 'Poppins', system-ui, -apple-system, sans-serif;
    --font-heading: 'Playfair Display', serif;

    /* Border Radius (Roundness) */
    --radius-sm: 5px;
    /* Small - subtle rounding */
    --radius-md: 10px;
    /* Medium - moderate rounding */
    --radius-lg: 8px;
    /* Large - cards and containers */
    --radius-xl: 20px;
    /* Extra Large - featured sections */
    --radius-full: 10px;
    /* Pill-shaped buttons */
    --radius-circle: 50%;
    /* Perfect circles */

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-standard: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.btn {
    font-family: var(--font-heading);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

section {
    padding: var(--spacing-lg) 0;
}

/* Header & Navigation */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-font {
    font-family: 'Cookie', cursive;
    font-style: italic;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    color: var(--text-primary);
    font-size: 2rem;
}

.logo span {
    color: var(--primary-blue);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

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

.nav-links a.active {
    color: var(--primary-blue);
    font-weight: 600;
}

.nav-cta {
    background: var(--navy-dark);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    transition: var(--transition-standard);
}

.nav-cta:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(42, 139, 185, 0.3);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--navy-dark);
    border-radius: 10px;
    transition: var(--transition-standard);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Button Component */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-standard);
    border: none;
}

.btn-primary {
    /* background: var(--primary-blue); */
    background: var(--navy-dark);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-blue-dark);
    transform: scale(1.02);
}

/* Footer Implementation */
footer {
    background: var(--navy-dark);
    color: var(--white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-col h4 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-md);
    font-size: 1.2rem;
}

.footer-col p {
    color: #a0aec0;
    margin-bottom: var(--spacing-sm);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    text-align: center;
    color: #718096;
    font-size: 0.9rem;
}

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

/* Enhanced Transitions & Hover Effects */
.btn,
.nav-cta,
.feature-card,
.service-item,
.product-card,
.mv-card,
.legal-section {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.feature-card:hover,
.service-item:hover,
.product-card:hover,
.mv-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
}

/* Image Hover Scale */
.service-img,
.mv-img,
.about-img-main,
.product-card img {
    transition: transform 0.6s ease;
}

.service-item:hover .service-img,
.mv-card:hover .mv-img {
    transform: scale(1.05);
}

/* Floating Animation Utility */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.float-anim {
    animation: float 3s ease-in-out infinite;
}

/* Text Shimmer Effect */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.shimmer-text {
    background: linear-gradient(90deg, #f88910, #ffffff, #f88910);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s linear infinite;
}

/* Responsive */
@media (max-width: 992px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
        gap: 1.5rem;
        text-align: center;
        animation: slideDown 0.3s ease-out;
    }

    .nav-cta {
        display: none;
    }

    .logo img {
        width: 80px !important;
    }

    .menu-toggle {
        display: flex;
    }

    header .logo-text {
        display: none;
    }
}

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

    to {
        transform: translateY(0);
        opacity: 1;
    }

}


/* Fixed Floating Icons */
.floating-icons {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.icon-box {
    width: 60px;
    height: 50px;
    background: var(--white);
    border-radius: 8px 0 0 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: -2px 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    position: relative;
    right: -5px;
    /* Slightly hidden off-screen to look attached */
}

.icon-box:hover {
    transform: translateX(-5px);
    /* Slide out slightly */
    color: white;
    width: 60px;
    /* Expand slightly on hover */
}

/* Tooltip on hover */
.icon-box::before {
    content: attr(title);
    position: absolute;
    right: 60px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.icon-box:hover::before {
    opacity: 1;
    visibility: visible;
    right: 70px;
}

.icon-box.whatsapp {
    background: #25D366;
}

.icon-box.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.icon-box.linkedin {
    background: #0077b5;
}

.icon-box.phone {
    background: var(--primary-blue);
}

.icon-box.email {
    background: var(--primary-orange);
}

@media (max-width: 768px) {
    .floating-icons {
        right: 0;
        top: auto;
        bottom: 30px;
        transform: none;
        gap: 12px;
    }

    .icon-box {
        width: 55px;
        height: 45px;
        font-size: 1.3rem;
    }

    .icon-box:hover::before {
        display: none;
        /* Hide tooltip on mobile */
    }
}