/* ===== GLOBAL STYLES ===== */
:root {
    --primary: #e83e8c;
    --primary-dark: #ce2a7b;
    --secondary: #6c757d;
    --light: #f8f9fa;
    --dark: #343a40;
    --white: #ffffff;
    --gray: #e9ecef;
    --dark-gray: #495057;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background-color: var(--light);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-secondary {
    background-color: var(--secondary);
}

.btn-secondary:hover {
    background-color: #5a6268;
}

/* ===== NAVBAR ===== */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary);
}

.logo p {
    font-size: 0.8rem;
    color: var(--secondary);
    margin-top: -5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links li a {
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links li a:hover {
    color: var(--primary);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s;
}

.nav-links li a:hover::after {
    width: 100%;
}

.burger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 100px 5% 80px;
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
}

.stat-item h3 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ===== DESIGN PROCESS ===== */
.design-process {
    padding: 80px 5%;
    background-color: var(--white);
}

.design-process h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.design-process>p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    color: var(--secondary);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.step {
    padding: 30px;
    border-radius: 10px;
    background-color: var(--light);
    transition: transform 0.3s;
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.step p {
    color: var(--dark-gray);
}

/* ===== COLLECTIONS ===== */
.collections {
    padding: 80px 5%;
    background-color: var(--light);
}

.collections h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.collections>p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    color: var(--secondary);
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.collection-card {
    padding: 30px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.collection-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.collection-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.collection-card ul {
    margin: 20px 0;
    padding-left: 20px;
}

.collection-card li {
    margin-bottom: 10px;
    color: var(--dark-gray);
}

/* ===== FABRIC LIBRARY ===== */
.fabric-library {
    padding: 80px 5%;
    background-color: var(--white);
}

.fabric-library h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.fabric-library>p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    color: var(--secondary);
}

.fabric-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.category {
    padding: 30px;
    background-color: var(--light);
    border-radius: 10px;
}

.category h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.category ul {
    margin-top: 20px;
    padding-left: 20px;
}

.category li {
    margin-bottom: 15px;
}

.category strong {
    color: var(--dark);
}

/* ===== QUALITY PROMISE ===== */
.quality-promise {
    padding: 80px 5%;
    background-color: var(--light);
}

.quality-promise h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.quality-promise>p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    color: var(--secondary);
}

.promise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.promise-item {
    padding: 30px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.promise-item h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 80px 5%;
    background-color: var(--white);
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    padding: 30px;
    background-color: var(--light);
    border-radius: 10px;
    position: relative;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.client-info {
    display: flex;
    flex-direction: column;
}

.client-info h4 {
    color: var(--primary);
}

.client-info p {
    font-style: normal;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 80px 5%;
    text-align: center;
    background-color: var(--primary);
    color: var(--white);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ===== CONTACT PAGE STYLES ===== */
.contact-hero {
    padding: 100px 5% 80px;
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
}

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

.contact-methods {
    padding: 80px 5%;
    background-color: var(--white);
}

.contact-methods h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.contact-card {
    padding: 30px;
    background-color: var(--light);
    border-radius: 10px;
    transition: transform 0.3s;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.contact-card p {
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.contact-form {
    padding: 80px 5%;
    max-width: 800px;
    margin: 0 auto;
}

.contact-form h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-form>p {
    text-align: center;
    margin-bottom: 50px;
    color: var(--secondary);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray);
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.location {
    padding: 80px 5%;
    background-color: var(--light);
}

.location h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.location-details {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.location-info h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.location-info h4 {
    font-size: 1.3rem;
    margin: 25px 0 15px;
    color: var(--dark);
}

.faq-contact {
    padding: 80px 5%;
    background-color: var(--white);
    max-width: 800px;
    margin: 0 auto;
}

.faq-contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.faq-item {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--gray);
}

.faq-item h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 60px 5% 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-section p,
.footer-section li {
    opacity: 0.8;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .burger {
        display: block;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .process-steps,
    .collection-grid,
    .fabric-categories,
    .promise-grid,
    .testimonial-grid,
    .contact-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 80px 5% 60px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section {
        margin-bottom: 30px;
    }

    .contact-form {
        padding: 60px 5%;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
    }

    .location-info h3 {
        font-size: 1.5rem;
    }

    .location-info h4 {
        font-size: 1.2rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-50 {
    margin-bottom: 50px;
}

.pb-30 {
    padding-bottom: 30px;
}

.opacity-80 {
    opacity: 0.8;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
    padding: 80px 30px 30px;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu .nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-menu .nav-links li a {
    font-size: 1.2rem;
    padding: 10px 0;
    display: block;
    border-bottom: 1px solid var(--gray);
}

.menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== FORM VALIDATION ===== */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #dc3545;
}

.error-message {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 5px;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

/* ===== LOADING ANIMATION ===== */
.loader {
    display: none;
    width: 40px;
    height: 40px;
    margin: 20px auto;
    border: 4px solid var(--gray);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ===== PRINT STYLES ===== */
@media print {

    nav,
    .cta-section,
    footer {
        display: none;
    }

    body {
        background: none;
        color: #000;
        font-size: 12pt;
    }

    a::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        font-weight: normal;
    }
}