/* 
==============================================
Kiran Furniture - Main Stylesheet
==============================================
*/

/* Base Styles & CSS Reset
-------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0e4f75;
    --secondary-color: #ff8800;
    --accent-color: #1e88e5;
    --text-color: #333333;
    --text-light: #777777;
    --background-light: #f8f9fa;
    --white: #ffffff;
    --black: #000000;
    --gray-light: #f0f0f0;
    --border-color: #e0e0e0;
    --overlay-dark: rgba(0, 0, 0, 0.7);
    --box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography
-------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 20px;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    position: relative;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.2rem;
}

p {
    margin-bottom: 1.5rem;
}

/* Buttons
-------------------------------------------- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(14, 79, 117, 0.3);
}

.btn-primary:hover {
    background-color: #0b3d5c;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(14, 79, 117, 0.4);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(14, 79, 117, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 10px 24px;
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Header
-------------------------------------------- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo {
    width: 180px;
    height: auto;
}

.tagline {
    font-size: 0.8rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: -5px;
    margin-bottom: 0;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    position: relative;
    font-weight: 500;
    color: var(--text-color);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 5px 0;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.nav-links li a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.mobile-nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Page Banner
-------------------------------------------- */
.page-banner {
    background: linear-gradient(rgba(14, 79, 117, 0.85), rgba(14, 79, 117, 0.85)), url('https://images.unsplash.com/photo-1524758631624-e2822e304c36?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
    padding: 150px 0 80px;
    margin-bottom: 40px;
}

.page-banner h1 {
    margin-bottom: 15px;
}

.page-banner p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Hero Section
-------------------------------------------- */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1524758631624-e2822e304c36?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') no-repeat center center/cover;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 0;
    padding-top: 80px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    animation: fadeInDown 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.3s forwards;
    transform: translateY(20px);
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s forwards;
    transform: translateY(20px);
    opacity: 0;
}

/* Features Section
-------------------------------------------- */
.features {
    padding: 80px 0;
    background-color: var(--white);
    position: relative;
    z-index: 2;
}

.features .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-box {
    background-color: var(--white);
    padding: 40px 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-box i {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-box h3 {
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.feature-box h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.feature-box p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* About Section
-------------------------------------------- */
.about {
    padding: 100px 0;
    background-color: var(--background-light);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(14, 79, 117, 0.05);
    z-index: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.separator {
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    margin: 0 auto 20px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text h3 {
    color: var(--primary-color);
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 25px;
}

/* Products Section
-------------------------------------------- */
.products {
    padding: 100px 0;
    background-color: var(--white);
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-light);
}

.product-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.product-category {
    text-align: center;
}

.product-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    margin-bottom: 20px;
}

.product-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-image:hover img {
    transform: scale(1.1);
}

.product-image:hover .overlay {
    opacity: 1;
}

.product-category h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 15px;
    margin-bottom: 0;
}

/* Product Specific Styles
-------------------------------------------- */
.product-section {
    padding: 50px 0;
    border-bottom: 1px solid #eee;
}

.product-section:last-child {
    border-bottom: none;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.product-card {
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-card .product-image {
    position: relative;
    height: 272px;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    overflow: hidden;
}

.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card .product-image h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display:none;
    background-color: rgba(14, 79, 117, 0.8);
    color: white;
    margin: 0;
    padding: 10px;
    font-size: 1rem;
    text-align: center;
}

.product-info {
    padding: 15px;
}

.product-info h3 {
    margin-top: 0;
    font-size: 1.2rem;
}

.product-code {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 10px;
}

.category-description {
    margin-bottom: 30px;
}

.product-section-nav {
    background-color: #f5f5f5;
    padding: 15px 0;
    margin-bottom: 30px;
}

.product-section-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-section-nav a {
    display: block;
    padding: 8px 15px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.product-section-nav a:hover,
.product-section-nav a.active {
    background-color: var(--secondary-color);
    color: #fff;
}

/* Company History & Values
-------------------------------------------- */
.company-history, 
.manufacturing-process {
    padding: 80px 0;
}

.company-values {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.value-box {
    margin-bottom: 30px;
    padding: 30px;
    border-left: 4px solid var(--secondary-color);
    background-color: #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.value-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.value-box h3 {
    color: var(--primary-color);
}

.certificates {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.certificate-item {
    text-align: center;
    width: 180px;
    transition: var(--transition);
}

.certificate-item:hover {
    transform: translateY(-5px);
}

.certificate-item img {
    max-width: 100px;
    height: auto;
    margin: 0 auto 15px;
}

.certificate-item h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.certificate-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Clients Section
-------------------------------------------- */
.clients {
    padding: 80px 0;
    background-color: var(--background-light);
}

.clients-list ul {
    column-count: 3;
    column-gap: 40px;
    list-style: disc;
    padding-left: 20px;
    margin-top: 30px;
}

.clients-list ul li {
    margin-bottom: 15px;
    break-inside: avoid;
    position: relative;
    padding-left: 5px;
}

.clients-list ul li::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 10px;
    width: 8px;
    height: 8px;
    background-color: var(--secondary-color);
    border-radius: 50%;
}

/* Quality Section
-------------------------------------------- */
.quality {
    padding: 100px 0;
    background: linear-gradient(rgba(14, 79, 117, 0.9), rgba(14, 79, 117, 0.9)), 
                url('https://images.unsplash.com/photo-1571624436279-b272aff752b5?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
}

.quality-content {
    max-width: 800px;
    margin: 0 auto;
}

.quality h2 {
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 20px;
}

.quality h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.quality p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.quality-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.quality-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quality-feature i {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.quality-feature span {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Client Logos
-------------------------------------------- */
.client-logos {
    display: flex;
    align-items: center;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    cursor: grab;
    scrollbar-width: none; /* Firefox */
}

.client-logos::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.client-logo {
    min-width: 150px;
    height: 80px;
    background-color: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.client-logo img {
    max-width: 100%;
    max-height: 60px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.client-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* CTA Section
-------------------------------------------- */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), #072d46);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.cta p {
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* Contact Section
-------------------------------------------- */
.contact {
    padding: 100px 0;
    background-color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(14, 79, 117, 0.1);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-item p {
    color: var(--text-light);
    margin-bottom: 5px;
}

/* Footer
-------------------------------------------- */
footer {
    background-color: #0a2333;
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-logo {
    margin-bottom: 15px;
    width: 150px;
}

.footer-column p {
    opacity: 0.7;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.certification-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.certification-icons img {
    height: 30px;
    filter: brightness(0.9);
    transition: var(--transition);
}

.certification-icons img:hover {
    filter: brightness(1.2);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    margin-bottom: 0;
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--white);
}

/* Certifications Section
-------------------------------------------- */
.certifications {
    padding: 80px 0;
    background-color: var(--white);
}

/* Animations
-------------------------------------------- */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries
-------------------------------------------- */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: 2;
    }
    
    .about-text {
        order: 1;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .clients-list ul {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-wrap: wrap;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: 0;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        gap: 0;
        overflow: hidden;
        transition: var(--transition);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
        opacity: 0;
    }
    
    .nav-links.active {
        height: auto;
        padding: 20px 0;
        opacity: 1;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links li a {
        display: block;
        padding: 15px 0;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .hero {
        min-height: 500px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
    
    .clients-list ul {
        column-count: 1;
    }
    
    .certificates {
        gap: 15px;
    }
    
    .certificate-item {
        width: 140px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .features .container {
        grid-template-columns: 1fr;
    }
    
    .product-categories {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .quality-features {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .clients-list ul {
        padding-left: 10px;
    }
}