/* ========================================
   NovaVista Shades - Premium Styling
   ======================================== */

/* Color Palette (from logo) */
:root {
    --deep-brown: #5c3d2e;
    --warm-tan: #c4a57b;
    --soft-cream: #f8f4ee;
    --text-dark: #2b1f1c;
    --text-muted: #7a6a62;
    --white: #ffffff;
    --shadow-light: rgba(92, 61, 46, 0.08);
    --shadow-medium: rgba(92, 61, 46, 0.15);
    --shadow-heavy: rgba(92, 61, 46, 0.25);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background: var(--soft-cream);
    line-height: 1.6;
    font-weight: 300;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.hero-title {
    font-family: 'Great Vibes', cursive;
    color: var(--deep-brown);
    font-weight: 400;
    line-height: 1.3;
}


/* Typography */
/* h1, h2, h3, h4, h5, h6 {
    font-family: 'Great Vibes', cursive;
    color: var(--deep-brown);
    font-weight: 400;
    line-height: 1.3;
} */

h1, h2, h3, h4, h5, h6
{
  font-family: "Roboto Slab", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  line-height: 1.3;
  color: var(--deep-brown);
}



h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }

p { 
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigation */
.nav {
    position: sticky;
    top: 0;
    background: var(--white);
    box-shadow: 0 2px 12px var(--shadow-light);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
}

.brand {
    display: flex;
    align-items: center;
    justify-content: flex-start; 
}

.logo-name {
    display: flex;
    align-items: center;
    gap:10px;
    /* margin-left: -60px; */
  
    
}

.logo-name img {
    height: 60px;
    width: auto;
    margin: 0;
    padding: 0;
}

.company-name {
    font-family: 'Roboto Slab', serif;
    line-height: 1;  /* reduced line spacing */
    margin: 0;
    padding: 0;
}

.company-name h1 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    padding: 0;
    color: #5c3d2e;
}

.company-name p {
    font-size: 12px;
    margin: 0;
    padding: 0;
    color: #8a6f5a;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 26px;
    height: 2px;
    background: var(--deep-brown);
    transition: all 0.3s ease;
}

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

.nav-menu a {
    font-weight: 400;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--warm-tan);
    transition: width 0.3s ease;
}

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

.nav-phone {
    font-weight: 500;
    color: var(--deep-brown);
    border: 2px solid var(--warm-tan);
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-phone:hover {
    background: var(--warm-tan);
    color: var(--white);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background-image: url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(92, 61, 46, 0.75) 0%, rgba(92, 61, 46, 0.45) 50%, rgba(196, 165, 123, 0.3) 100%);
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 1.5rem;
}

.hero-content {
    color: var(--white);
}

.hero-title {
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
}

/* Lead Form */
.hero-form-wrapper {
    display: flex;
    justify-content: flex-end;
}

.lead-form {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    padding: 2.5rem;
    border-radius: 14px;
    box-shadow: 0 12px 40px var(--shadow-heavy);
    max-width: 480px;
    width: 100%;
}

.lead-form h3 {
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.75rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid rgba(196, 165, 123, 0.3);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--warm-tan);
    box-shadow: 0 0 0 3px rgba(196, 165, 123, 0.15);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.95rem 2rem;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: var(--deep-brown);
    color: var(--white);
    width: 100%;
}

.btn-primary:hover {
    background: #4a2f22;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--shadow-medium);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--deep-brown);
}

.btn-text {
    background: none;
    color: var(--warm-tan);
    padding: 0.5rem 0;
    font-weight: 500;
}

.btn-text:hover {
    color: var(--deep-brown);
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--soft-cream);
    border-radius: 12px;
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px var(--shadow-light);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--warm-tan), var(--deep-brown));
    border-radius: 50%;
    color: var(--white);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Products Teaser */
.products-teaser {
    padding: 6rem 0;
    background: var(--soft-cream);
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 4rem;
}

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

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow-light);
    transition: all 0.4s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 36px var(--shadow-medium);
}

.product-image {
    height: 280px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-info {
    padding: 2rem;
}

.product-info h3 {
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.product-info p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Process Section */
.process {
    padding: 6rem 0;
    background: var(--white);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.process-step {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--soft-cream);
    border-radius: 12px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--deep-brown), var(--warm-tan));
    border-radius: 50%;
    color: var(--white);
    font-size: 1.75rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

.process-step h3 {
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.process-step p {
    color: var(--text-muted);
    line-height: 1.7;
}

.process-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Footer */
.footer {
    background: var(--deep-brown);
    color: rgba(255, 255, 255, 0.85);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer h4 {
    font-family: 'Poppins', sans-serif;
    color: var(--white);
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-links,
.footer-contact {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.75rem;
}

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--warm-tan);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Animations */
.animate-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

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

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .animate-fade {
        opacity: 1;
        transform: none;
    }
    
    .hero {
        background-attachment: scroll;
    }
}

/* Responsive Design */
@media (max-width: 991px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--white);
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 8px 20px var(--shadow-light);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-phone {
        display: none;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero {
        min-height: auto;
        background-attachment: scroll;
    }
    
    .hero-form-wrapper {
        justify-content: center;
    }
    
    .features-grid,
    .products-grid,
    .process-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .lead-form {
        padding: 2rem 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* Product Page Specific Styles */
.page-header {
    background: var(--deep-brown);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.product-section {
    padding: 5rem 0;
}

.product-section:nth-child(even) {
    background: var(--white);
}

.product-section:nth-child(odd) {
    background: var(--soft-cream);
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 3rem;
}

.product-detail-reverse {
    grid-template-columns: 1fr 1fr;
}

.product-detail-reverse .product-image-col {
    order: 2;
}

.product-image-col img {
    border-radius: 12px;
    box-shadow: 0 8px 28px var(--shadow-light);
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.product-content h2 {
    margin-bottom: 1.5rem;
}

.product-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.spec-item {
    background: var(--soft-cream);
    padding: 1.25rem;
    border-radius: 8px;
    border-left: 3px solid var(--warm-tan);
}

.spec-item strong {
    display: block;
    color: var(--deep-brown);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.spec-item span {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.product-types {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.type-tag {
    background: var(--warm-tan);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 400;
}

@media (max-width: 991px) {
    .product-detail,
    .product-detail-reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-detail-reverse .product-image-col {
        order: 1;
    }
    
    .spec-grid {
        grid-template-columns: 1fr;
    }
}