/* ========================================
   RAJ ENTERPRISES - MODERN INDUSTRIAL DESIGN
   ======================================== */

/* CSS Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-blue: #0f2442;
    --secondary-blue: #1a3a5c;
    --accent-blue: #2c5f8d;
    --silver: #b8c5d6;
    --light-silver: #e8ecf1;
    --dark-silver: #7a8a9e;
    --white: #ffffff;
    --black: #1a1a1a;
    --text-dark: #2d3748;
    --text-light: #718096;
    
    /* Gradients */
    --gradient-blue: linear-gradient(135deg, #0f2442 0%, #2c5f8d 100%);
    --gradient-silver: linear-gradient(135deg, #e8ecf1 0%, #b8c5d6 100%);
    --overlay-dark: linear-gradient(135deg, rgba(15, 36, 66, 0.85) 0%, rgba(44, 95, 141, 0.85) 100%);
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

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

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

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 36, 66, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.brand-tagline {
    font-size: 0.75rem;
    color: var(--silver);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
}

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

.nav-link:hover {
    color: var(--silver);
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.4rem;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-dark);
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-text {
    font-size: 1.25rem;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: var(--light-silver);
    line-height: 1.8;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--white);
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
    background: var(--silver);
}

.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-size: 0.85rem;
    letter-spacing: 2px;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: var(--white);
    animation: scrollAnimation 2s infinite;
}

@keyframes scrollAnimation {
    0%, 100% { opacity: 0; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(10px); }
}

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

/* ========================================
   ABOUT SECTION
   ======================================== */

.about {
    padding: var(--spacing-xl) 0;
    background: var(--white);
}

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

.section-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.section-title.white {
    color: var(--white);
}

.title-line {
    width: 60px;
    height: 4px;
    background: var(--gradient-blue);
    margin-bottom: 2rem;
}

.title-line.center {
    margin-left: auto;
    margin-right: auto;
}

.about-paragraph {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-box {
    text-align: center;
    padding: 2rem;
    background: var(--light-silver);
    border-radius: 15px;
    transition: var(--transition);
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
}

.about-image {
    position: relative;
}

.feature-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.image-badge {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: var(--gradient-blue);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ========================================
   PRODUCTS SECTION
   ======================================== */

.products {
    padding: var(--spacing-xl) 0;
    background: var(--light-silver);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 1rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition-slow);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.product-img-wrapper {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: var(--light-silver);
}

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

.product-card:hover .product-img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--gradient-blue);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.product-badge.frp {
    background: linear-gradient(135deg, #2d8659 0%, #3fa86e 100%);
}

.product-info {
    padding: 2rem;
}

.product-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
}

.product-desc {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ========================================
   QUALITY SECTION
   ======================================== */

.quality {
    position: relative;
    padding: var(--spacing-xl) 0;
    color: var(--white);
    overflow: hidden;
}

.quality-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.quality-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quality-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-dark);
}

.quality-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.quality-text {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--light-silver);
    margin-bottom: 1.5rem;
}

.quality-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: var(--transition);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--white);
}

.feature-item:hover .feature-icon {
    background: var(--white);
    transform: scale(1.1);
}

.feature-item:hover .feature-icon svg {
    stroke: var(--primary-blue);
}

.feature-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.feature-item p {
    font-size: 0.95rem;
    color: var(--silver);
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact {
    padding: var(--spacing-xl) 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--light-silver);
    border-radius: 15px;
    transition: var(--transition);
}

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

.info-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-blue);
    border-radius: 12px;
}

.info-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
}

.info-content h4 {
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.info-content a {
    display: block;
    color: var(--accent-blue);
    text-decoration: none;
    margin-bottom: 0.3rem;
    transition: var(--transition);
}

.info-content a:hover {
    color: var(--primary-blue);
}

.info-content p {
    color: var(--text-light);
    line-height: 1.7;
}

.map-wrapper {
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--silver);
}

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

.footer-links a {
    color: var(--silver);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--silver);
}

/* ========================================
   ANIMATIONS
   ======================================== */

[data-animate] {
    opacity: 0;
    transition: var(--transition-slow);
}

[data-animate="up"] {
    transform: translateY(50px);
}

[data-animate="left"] {
    transform: translateX(-50px);
}

[data-animate="right"] {
    transform: translateX(50px);
}

[data-animate].animated {
    opacity: 1;
    transform: translate(0, 0);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.75rem;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .quality-features {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background: var(--primary-blue);
        width: 250px;
        padding: 2rem;
        gap: 1.5rem;
        transition: var(--transition);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .btn-primary {
        padding: 0.85rem 2rem;
        font-size: 0.9rem;
    }
    
    .stat-number {
        font-size: 2.25rem;
    }
    
    .product-name {
        font-size: 1.25rem;
    }
}

/* ========================================
   SCROLLBAR STYLING
   ======================================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-silver);
}

::-webkit-scrollbar-thumb {
    background: var(--silver);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-silver);
}
