* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-bg: #f7f5f3;
    --secondary-bg: #ffffff;
    --accent-blue: #a8c4d8;
    --accent-green: #b8d4c2;
    --accent-orange: #f4d2a7;
    --text-dark: #3a3a3a;
    --text-light: #6b6b6b;
    --text-muted: #8a8a8a;
    --warm-brown: #8b6f47;
    --soft-gold: #d4af37;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--primary-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--secondary-bg);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
}

.logo h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--warm-brown);
    text-align: center;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.logo-underline {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-green));
    margin: 0 auto;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.fabric-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        var(--accent-blue) 0%, 
        transparent 25%, 
        transparent 50%, 
        var(--accent-green) 75%, 
        transparent 100%);
    opacity: 0.1;
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--warm-brown);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.fabric-showcase {
    position: relative;
    width: 300px;
    height: 300px;
}

.fabric-roll {
    position: absolute;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.fabric-roll:hover {
    transform: scale(1.1);
}

.fabric-roll-1 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--accent-blue), #e3f2fd);
    top: 20px;
    left: 40px;
    animation: float 6s ease-in-out infinite;
}

.fabric-roll-2 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent-green), #e8f5e8);
    top: 50px;
    right: 30px;
    animation: float 6s ease-in-out infinite 2s;
}

.fabric-roll-3 {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, var(--accent-orange), #fff8e1);
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: float 6s ease-in-out infinite 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Product Gallery */
.product-gallery {
    padding: 60px 0;
    background: var(--secondary-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.gallery-item {
    text-align: center;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
}

.fabric-sample {
    width: 120px;
    height: 120px;
    border-radius: 15px;
    margin: 0 auto 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.fabric-sample.cotton {
    background: linear-gradient(45deg, #ffffff, #f8f8f8);
    background-image: radial-gradient(circle at 25% 25%, #e0e0e0 2px, transparent 2px);
    background-size: 20px 20px;
}

.fabric-sample.linen {
    background: linear-gradient(45deg, #f5f1e8, #e8e0d1);
    background-image: repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(139,111,71,0.1) 2px, rgba(139,111,71,0.1) 4px);
}

.fabric-sample.silk {
    background: linear-gradient(45deg, var(--accent-blue), #b3d9f2);
    background-image: linear-gradient(90deg, rgba(255,255,255,0.2) 50%, transparent 50%);
    background-size: 4px 4px;
}

.fabric-sample.wool {
    background: linear-gradient(45deg, var(--accent-green), #a5d4af);
    background-image: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.3) 1px, transparent 1px);
    background-size: 10px 10px;
}

.fabric-sample.blend {
    background: linear-gradient(45deg, var(--accent-orange), #f7e2b8);
    background-image: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(139,111,71,0.1) 3px, rgba(139,111,71,0.1) 6px);
}

.fabric-sample.denim {
    background: linear-gradient(45deg, #4a6fa5, #6b8bc4);
    background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.1) 0px, rgba(255,255,255,0.1) 1px, transparent 1px, transparent 2px);
}

.gallery-item span {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--primary-bg);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    font-weight: 300;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--secondary-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 15px;
    background: var(--primary-bg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-green));
}

.icon-leaf, .icon-palette, .icon-trend, .icon-craft, .icon-heart {
    width: 30px;
    height: 30px;
    background: var(--secondary-bg);
    border-radius: 3px;
}

.icon-leaf {
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.icon-palette {
    border-radius: 50% 50% 50% 0;
}

.icon-trend {
    clip-path: polygon(0% 100%, 100% 0%, 100% 100%);
}

.icon-craft {
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.icon-heart {
    clip-path: polygon(50% 100%, 20% 40%, 50% 20%, 80% 40%);
}

.feature-item h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--warm-brown);
    margin-bottom: 15px;
}

.feature-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Contact Section */
.contact {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-green));
    text-align: center;
}

.contact-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--secondary-bg);
    margin-bottom: 15px;
}

.contact-content p {
    color: var(--secondary-bg);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.contact-btn {
    background: var(--secondary-bg);
    color: var(--warm-brown);
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: var(--secondary-bg);
    margin: 5% auto;
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 30px;
    color: var(--text-muted);
    cursor: pointer;
}

.close:hover {
    color: var(--text-dark);
}

.contact-form h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: var(--warm-brown);
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-green));
    color: var(--secondary-bg);
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--secondary-bg);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.footer-logo p {
    color: var(--text-muted);
}

.footer-info p {
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .logo h1 {
        font-size: 2rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .fabric-showcase {
        width: 250px;
        height: 250px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 20px;
    }
    
    .fabric-sample {
        width: 100px;
        height: 100px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .about, .features {
        padding: 60px 0;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .fabric-sample {
        width: 80px;
        height: 80px;
    }
}
