/* ============================================
   ESKARTEC SOLUTIONS LIMITED
   Professional Solar Solutions Website
   Color Palette: Navy, Gold, White, Gray
   ============================================ */

/* CSS Variables */
:root {
    /* Primary Colors */
    --navy-900: #0f172a;
    --navy-800: #1e293b;
    --navy-700: #334155;
    --navy-600: #475569;
    
    /* Gold/Amber Accent */
    --gold-500: #d97706;
    --gold-400: #f59e0b;
    --gold-300: #fbbf24;
    
    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --section-padding: 80px;
    --container-width: 1280px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

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

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.2;
}

.logo-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.logo-content {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--navy-800);
    letter-spacing: 3px;
    line-height: 1;
}

.logo-sub {
    font-size: 9px;
    font-weight: 600;
    color: var(--gold-600);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    letter-spacing: 0.5px;
    position: relative;
    padding: 8px 0;
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--navy-800);
}

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

.btn-signin {
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    background: var(--navy-800);
    border-radius: 2px;
}

.btn-signin:hover {
    background: var(--navy-700);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--navy-800);
    transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.85) 0%,
        rgba(15, 23, 42, 0.6) 50%,
        rgba(15, 23, 42, 0.4) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 0 24px;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: rgba(217, 119, 6, 0.2);
    border: 1px solid var(--gold-500);
    color: var(--gold-400);
    border-radius: 2px;
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 72px;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    margin-bottom: 48px;
    padding: 32px 48px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

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

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 600;
    color: var(--gold-400);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 8px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 16px 36px;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    background: var(--gold-500);
    border-radius: 2px;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--gold-400);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
}

.btn-secondary {
    display: inline-block;
    padding: 16px 36px;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 2px;
    letter-spacing: 0.5px;
}

.btn-secondary:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.btn-outline {
    display: inline-block;
    padding: 16px 36px;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    background: transparent;
    border: 2px solid var(--white);
    border-radius: 2px;
    letter-spacing: 0.5px;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--navy-800);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-images {
    position: relative;
}

.image-stack {
    position: relative;
}

.about-img-1 {
    width: 80%;
    border-radius: 0;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.about-img-2 {
    position: absolute;
    bottom: -40px;
    right: 0;
    width: 60%;
    border-radius: 0;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border: 6px solid var(--white);
}

.experience-badge {
    position: absolute;
    top: 40px;
    right: 40px;
    background: var(--gold-500);
    color: var(--white);
    padding: 24px;
    border-radius: 0;
    text-align: center;
    box-shadow: 0 15px 40px rgba(217, 119, 6, 0.3);
}

.exp-number {
    display: block;
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
}

.exp-text {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 16px;
    padding-left: 16px;
    border-left: 3px solid var(--gold-500);
}

.section-title {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 600;
    color: var(--navy-800);
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.about-text {
    color: var(--gray-600);
    margin-bottom: 20px;
    font-size: 17px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 32px 0;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--gray-100);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--gold-500);
}

.feature-text h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--navy-800);
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 14px;
    color: var(--gray-500);
}

/* ============================================
   SERVICES PREVIEW
   ============================================ */
.services-preview {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}

.section-desc {
    font-size: 18px;
    color: var(--gray-500);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--white);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

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

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.service-content {
    padding: 28px;
}

.service-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--navy-800);
    margin-bottom: 12px;
}

.service-content p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

.services-cta {
    text-align: center;
    margin-top: 48px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.7) 100%);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.3;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 36px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--navy-900);
    color: var(--gray-300);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.footer-logo .logo-icon svg {
    width: 100%;
    height: 100%;
}

.footer-logo .logo-content {
    display: flex;
    flex-direction: column;
}

.footer-logo .logo-text {
    color: var(--white);
    font-size: 22px;
}

.footer-logo .logo-sub {
    color: var(--gold-400);
    font-size: 8px;
    letter-spacing: 4px;
}

.footer-desc {
    font-size: 15px;
    line-height: 1.8;
    opacity: 0.8;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.footer-links ul li,
.footer-contact ul li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-contact a {
    font-size: 15px;
    opacity: 0.8;
}

.footer-links a:hover,
.footer-contact a:hover {
    opacity: 1;
    color: var(--gold-400);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 14px;
    opacity: 0.6;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 52px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hamburger {
        display: flex;
    }
    
    .btn-signin {
        display: none;
    }
    
    .hero {
        min-height: 600px;
        height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
        padding: 24px;
    }
    
    .stat-divider {
        width: 50px;
        height: 1px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
