/* =========================================
   Softtek Comfort Pvt Ltd - Premium Single-Page Style Guide
   ========================================= */

/* --- Variables & Theming --- */
:root {
    --color-navy: #0A192F;
    --color-navy-light: #112240;
    --color-navy-dark: #020c1b;
    --color-gold: #D4AF37;
    --color-gold-light: #F3E5AB;
    --color-offwhite: #F8F9FA;
    --color-white: #FFFFFF;
    --color-text-main: #333333;
    --color-text-muted: #666666;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    --border-radius-sm: 12px;
    --border-radius-md: 20px;
    --border-radius-lg: 28px;
}

/* --- Resets & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px; /* Offset for sticky header */
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-navy);
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 0;
}

.bg-white { background-color: var(--color-white); }
.bg-offwhite { background-color: var(--color-offwhite); }
.bg-navy { background-color: var(--color-navy); }
.text-white { color: var(--color-white); }
.text-gold { color: var(--color-gold); }
.text-center { text-align: center; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 2rem; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 3rem; }
.d-inline-block { display: inline-block; }

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
    font-family: var(--font-body);
}

/* --- Header & Navigation --- */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

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

.logo-text {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-navy);
}

.logo-subtext {
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: var(--color-gold);
    font-weight: 600;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    font-weight: 500;
    font-size: 1.1rem; /* Increased size */
    color: var(--color-navy);
    position: relative;
    padding: 0.5rem 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: var(--transition-smooth);
}

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

.main-nav a.active {
    color: var(--color-gold);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn .bar {
    position: absolute;
    height: 2px;
    width: 100%;
    background-color: var(--color-navy);
    border-radius: 2px;
    transition: var(--transition-smooth);
    left: 0;
}

.mobile-menu-btn .bar:nth-child(1) { top: 0; }
.mobile-menu-btn .bar:nth-child(2) { top: 50%; transform: translateY(-50%); }
.mobile-menu-btn .bar:nth-child(3) { bottom: 0; }

.mobile-menu-btn.active .bar:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.mobile-menu-btn.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .bar:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* --- Hero Section --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: url('hero.png') center/cover no-repeat;
    background-color: var(--color-navy);
    padding-top: 90px;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.9) 0%, rgba(10, 25, 47, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--color-white);
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid var(--color-gold);
    border-radius: 50px;
    color: var(--color-gold);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: 5rem;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* --- Buttons --- */
.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.primary-btn {
    background-color: var(--color-gold);
    color: var(--color-navy);
}

.primary-btn:hover {
    background-color: #c4a030;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.outline-btn {
    background-color: transparent;
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.outline-btn:hover {
    background-color: var(--color-gold);
    color: var(--color-navy);
    transform: translateY(-3px);
}

.glass-btn {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    border-color: rgba(255,255,255,0.3);
    color: white;
}
.glass-btn:hover {
    background: white;
    color: var(--color-navy);
}

.pulse-anim {
    animation: pulse 2s infinite;
}

.link-enquire {
    color: var(--color-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    position: relative;
    padding-bottom: 3px;
    display: inline-block;
}

.link-enquire::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: var(--transition-smooth);
}

.link-enquire:hover::after {
    width: 100%;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* --- Grids --- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.align-center { align-items: center; }

/* --- Components --- */
.img-placeholder {
    width: 100%;
    height: 100%;
    min-height: 250px;
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.feature-card {
    background: var(--color-white);
    padding: 3rem 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0,0,0,0.02);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.icon-lg {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.product-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}

.dark-card {
    background: var(--color-navy-light);
    color: white;
}

.dark-card h3 { color: var(--color-gold); }

.card-img {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    background: rgba(0,0,0,0.2);
}

.bg-light { background: var(--color-offwhite); color: var(--color-navy); }

.card-content {
    padding: 2.5rem;
    flex-grow: 1;
}

.card-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.card-content .price {
    color: var(--color-gold);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.premium-box {
    background: var(--color-white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    border-top: 5px solid var(--color-gold);
}

.dark-box {
    background: var(--color-navy-light);
    color: white;
}

.check-list {
    margin-bottom: 1.5rem;
}

.check-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-gold);
    font-weight: bold;
}

.testimonial-card {
    background: var(--color-white);
    padding: 3rem 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.stars {
    color: var(--color-gold);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.author {
    font-weight: 600;
    margin-top: 1.5rem;
    color: var(--color-navy);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-offwhite);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    margin-bottom: 1rem;
}

.faq-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

/* --- Forms & Contact --- */
.contact-info-panel {
    background: rgba(255,255,255,0.05);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255,255,255,0.1);
}

.contact-detail {
    display: flex;
    gap: 1.5rem;
    font-size: 1.1rem;
}

.contact-detail .icon {
    font-size: 1.5rem;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
}

.form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.form-row > div {
    flex: 1;
}

.form-group.floating {
    position: relative;
    margin-bottom: 2rem;
}

.minimal-input {
    width: 100%;
    padding: 0.5rem 0;
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: white;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
    transition: var(--transition-smooth);
}

.minimal-input:focus {
    outline: none;
    border-bottom-color: var(--color-gold);
    box-shadow: 0 1px 0 0 var(--color-gold);
}

.form-label {
    position: absolute;
    top: 0.5rem;
    left: 0;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    pointer-events: none;
    transition: var(--transition-fast);
}

/* Floating label effect */
.minimal-input:focus ~ .form-label,
.minimal-input:not(:placeholder-shown) ~ .form-label {
    top: -1.2rem;
    font-size: 0.85rem;
    color: var(--color-gold);
}

/* Select tweaks */
.select-group select {
    appearance: none;
}
.select-group select option {
    background: var(--color-navy);
}
.select-group select:focus ~ .form-label,
.select-group select:valid ~ .form-label {
    top: -1.2rem;
    font-size: 0.85rem;
    color: var(--color-gold);
}

.gradient-btn {
    background: linear-gradient(135deg, var(--color-gold) 0%, #a8861d 100%);
    border: none;
    color: var(--color-navy);
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}
.gradient-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.4);
}

.w-100 { width: 100%; }

/* --- Animations --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* --- FABs --- */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: var(--transition-fast);
}

.fab:hover { transform: scale(1.1); }
.fab-wa { background-color: #25D366; }
.fab-call { background-color: var(--color-gold); text-decoration: none; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .hero-content h1 { font-size: 4rem; }
}

@media (max-width: 768px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 2rem; }
    
    .mobile-menu-btn { display: block; }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 2rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1), opacity 0.5s ease;
        z-index: 1000;
    }
    
    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }

    .main-nav a {
        font-size: 2rem;
        font-family: var(--font-heading);
    }
    
    .hero-content h1 { font-size: 3.2rem; }
    .section-title { font-size: 2.2rem; }
    .section-padding { padding: 4rem 0; }
    
    .form-row {
        flex-direction: column;
        gap: 0;
        margin-bottom: 0;
    }
    
    .contact-info-panel, .glass-panel {
        padding: 1.5rem;
    }

    .cta-button {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}
