/* 
   Furnisea India International - Executive Stylesheet 
   Theme: Minimalist Corporate (Black, White, Red Accent)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=Montserrat:wght@400;500;700;800&display=swap');

:root {
    /* Executive Color Palette */
    --primary-color: #111111;   /* Deep Charcoal/Black */
    --accent-color: #F03A3E;    /* Signature Red (matching logo) */
    --text-color: #444444;      /* Medium Grey for readability */
    --light-bg: #FFFFFF;        /* Pure White */
    --section-bg: #F8F9FA;      /* Very light grey for contrast */
    --border-color: #EAEAEA;    /* Subtle borders */

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Layout */
    --section-padding: 100px 5%;
    --container-width: 1300px;
    --border-radius: 4px;

    /* Transitions */
    --transition-speed: 0.4s;
    --ease-out: cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--light-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

/* Utility Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3.5rem; }

.section-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-color);
    margin-bottom: 15px;
    display: block;
    font-weight: 700;
}

.section-title {
    font-size: 3rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    letter-spacing: -1px;
}

/* Redesigned Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 35px;
    background-color: var(--primary-color);
    color: var(--light-bg);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background-color var(--transition-speed) var(--ease-out), transform var(--transition-speed) var(--ease-out);
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

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

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.98);
    padding: 15px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: padding var(--transition-speed), box-shadow var(--transition-speed);
}

header.scrolled {
    padding: 10px 5%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 60px; /* Adjust based on actual logo */
    width: auto;
    object-fit: contain;
    transition: transform var(--transition-speed);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-subtext {
    font-size: 0.70rem;
    color: var(--text-color);
    font-weight: 500;
    letter-spacing: 2px;
}

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

.nav-links a {
    color: var(--primary-color);
    font-weight: 500;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: width var(--transition-speed) var(--ease-out);
}

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

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

.hamburger {
    display: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Executive Split Hero */
.hero {
    min-height: 100vh;
    padding: 0;
    display: flex;
    align-items: center;
    background-color: var(--light-bg);
    margin-top: 80px; /* Offset header */
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5%;
    align-items: center;
    padding: 50px 20px;
}

.hero-text {
    padding-right: 5%;
}

.hero-text h1 {
    font-size: 4.5rem;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero-text h1 span {
    color: var(--accent-color);
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 2.5rem;
    max-width: 500px;
    font-weight: 300;
}

.hero-image-wrapper {
    position: relative;
    height: 70vh;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 10s linear;
}

.hero-image-wrapper:hover img {
    transform: scale(1.05);
}

/* About Section */
.about {
    background-color: var(--section-bg);
    padding: var(--section-padding);
}

.about-grid {
    display: grid;
    grid-template-columns: 4fr 5fr;
    gap: 8%;
    align-items: center;
}

.about-heading h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.about-text strong {
    color: var(--primary-color);
}

/* Services Grid (Masonry/Elegant) */
.services {
    padding: var(--section-padding);
    background-color: var(--light-bg);
}

.services-header {
    max-width: 600px;
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--light-bg);
    padding: 50px 40px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: all var(--transition-speed) var(--ease-out);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Hover reveal effect */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--primary-color);
    z-index: -1;
    transition: height var(--transition-speed) var(--ease-out);
}

.service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

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

.service-card:hover h3, 
.service-card:hover p, 
.service-card:hover .service-num,
.service-card:hover i {
    color: var(--light-bg);
}

.service-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: #F0F0F0;
    position: absolute;
    top: 20px;
    right: 30px;
    transition: color var(--transition-speed);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 30px;
    transition: color var(--transition-speed);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    transition: color var(--transition-speed);
}

.service-card p {
    font-size: 1rem;
    color: var(--text-color);
    transition: color var(--transition-speed);
}

/* Contact / Footer Section */
.contact-footer {
    background-color: var(--primary-color);
    color: var(--light-bg);
    padding: 100px 5% 40px;
}

.cf-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.cf-brand h3 {
    color: var(--light-bg);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cf-brand p {
    color: #999;
    font-weight: 300;
    margin-bottom: 2rem;
    max-width: 300px;
}

.cf-heading {
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.cf-info p, .cf-info a {
    color: #CCC;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
}

.cf-info a:hover {
    color: var(--light-bg);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 50%;
    color: #FFF;
    transition: background-color var(--transition-speed);
}

.social-links a:hover {
    background-color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #777;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .about-grid, .hero .container, .cf-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-text h1 {
        font-size: 3.5rem;
    }
    
    .hero-image-wrapper {
        height: 50vh;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--light-bg);
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .logo-text {
        font-size: 1rem;
    }
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
