/* ========================================
   NOWFI ARSHAD - Modern Fashion Website CSS
   Elegant & Responsive Design
   ======================================== */

/* ========================================
   1. CSS Reset & Base Styles
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafaf8;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   2. Color Palette & Utilities
   ======================================== */

:root {
    --primary-color: #c9a876;
    --secondary-color: #2c2c2c;
    --accent-color: #e8d4c0;
    --light-bg: #fafaf8;
    --dark-text: #1a1a1a;
    --text-light: #666;
    --white: #ffffff;
    --hover-color: #a8875c;
    --border-color: #e0e0e0;
}

/* Smooth transitions */
a, button, .nav-link, .collection-card, .gallery-item {
    transition: all 0.3s ease-in-out;
}

/* ========================================
   3. Navigation Bar
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
}

.nav-logo img {
    height: 42px;
    width: auto;
    display: block;
    object-fit: contain;
}

.logo-icon {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.logo-text {
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    margin: 5px 0;
    transition: 0.3s;
}

/* ========================================
   4. Hero Section
   ======================================== */

.hero {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
    background: linear-gradient(135deg, #f5f0e8 0%, #e8d4c0 100%);
    background-image: url('./hero_1.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(201, 168, 118, 0.08);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
    z-index: 1;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(30px);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-tagline {
    font-size: 1.3rem;
    color: #f0f0f0;
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   5. Buttons
   ======================================== */

.btn {
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(201, 168, 118, 0.3);
}

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

.btn-secondary:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-block {
    width: 100%;
}

/* ========================================
   6. Section Headers
   ======================================== */

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.title-underline {
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    margin: 0 auto 20px;
    border-radius: 10px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 300;
}

/* ========================================
   7. About Section
   ======================================== */

.about {
    padding: 100px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    line-height: 1.8;
}

.about-paragraph {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-paragraph strong {
    color: var(--secondary-color);
    font-weight: 600;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f9f7f2;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    min-width: 30px;
}

.feature-item span {
    font-weight: 600;
    color: var(--secondary-color);
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #e8d4c0 0%, #f5f0e8 100%);
    border-radius: 15px;
    display: block;
    color: var(--text-light);
    font-size: 3rem;
    overflow: hidden;
    position: relative;
}

.image-placeholder img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.image-placeholder i {
    color: var(--primary-color);
    opacity: 0.5;
}

.image-placeholder p {
    font-size: 1.1rem;
    opacity: 0.7;
}

/* ========================================
   8. Collections Section
   ======================================== */

.collections {
    padding: 100px 0;
    background: var(--light-bg);
}

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

.collection-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.collection-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(201, 168, 118, 0.1) 0%, rgba(201, 168, 118, 0.05) 100%);
    transition: left 0.4s ease;
    z-index: -1;
}

.collection-card:hover::before {
    left: 0;
}

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

.collection-image {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.collection-card h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.collection-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.collection-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.collection-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.collection-link:hover::after {
    width: 100%;
}

.collection-link i {
    transition: transform 0.3s ease;
}

.collection-link:hover i {
    transform: translateX(5px);
}

/* ========================================
   9. Why Choose Us Section
   ======================================== */

.why-choose {
    padding: 100px 0;
    background: var(--white);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.why-choose-item {
    text-align: center;
    padding: 30px;
    transition: all 0.3s ease;
}

.why-choose-item:hover {
    transform: translateY(-5px);
}

.why-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.why-choose-item:hover .why-icon {
    transform: scale(1.1) rotate(10deg);
}

.why-choose-item h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.why-choose-item p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ========================================
   10. Gallery Section
   ======================================== */

.gallery {
    padding: 100px 0;
    background: var(--light-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    aspect-ratio: 1;
    transition: all 0.4s ease;
}

.gallery-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8d4c0 0%, #f5f0e8 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 2.5rem;
    transition: all 0.4s ease;
    object-fit: cover;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.gallery-image i {
    color: var(--primary-color);
    opacity: 0.6;
}

.gallery-image span {
    font-size: 0.9rem;
    opacity: 0.8;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 44, 44, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.gallery-overlay i {
    font-size: 3rem;
    color: var(--primary-color);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

/* ========================================
   11. Lightbox Modal
   ======================================== */

.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.lightbox-content {
    position: relative;
    margin: auto;
    display: block;
    width: 90%;
    max-width: 900px;
    height: 90vh;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8d4c0 0%, #f5f0e8 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary-color);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: var(--white);
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 2001;
}

.lightbox-close:hover {
    color: var(--primary-color);
}

.lightbox-prev, .lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: 50px;
    height: 50px;
    color: var(--white);
    font-size: 2rem;
    font-weight: bold;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2001;
}

.lightbox-prev {
    left: 20px;
    background: rgba(0, 0, 0, 0.3);
}

.lightbox-next {
    right: 20px;
    background: rgba(0, 0, 0, 0.3);
}

.lightbox-prev:hover, .lightbox-next:hover {
    background: rgba(201, 168, 118, 0.5);
}

/* ========================================
   12. Instagram Section
   ======================================== */

.instagram-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f0e8 0%, #e8d4c0 100%);
}

.instagram-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 40px;
}

.instagram-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.instagram-content h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.instagram-content p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

/* ========================================
   13. Contact Section
   ======================================== */

.contact {
    padding: 100px 0;
    background: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    background: #f9f7f2;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.contact-icon {
    font-size: 1.8rem;
    color: var(--primary-color);
    min-width: 40px;
    display: flex;
    align-items: center;
}

.contact-text h4 {
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.contact-text p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: var(--hover-color);
}

/* Contact Form */

.contact-form {
    background: #f9f7f2;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-size: 1.5rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--secondary-color);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(201, 168, 118, 0.1);
}

.form-message {
    margin-top: 15px;
    padding: 12px 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background: #e8f5e9;
    color: #2e7d32;
    display: block;
}

.form-message.error {
    background: #ffebee;
    color: #c62828;
    display: block;
}

/* ========================================
   14. Maps Section
   ======================================== */

.maps-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.maps-container {
    width: 100%;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.maps-container iframe {
    border-radius: 15px;
}

/* ========================================
   15. Footer
   ======================================== */

.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: 100px;
}

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

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-section p {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-link:hover {
    color: var(--primary-color);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
    font-size: 0.85rem;
}

/* ========================================
   16. Floating WhatsApp Button
   ======================================== */

.whatsapp-floating-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.whatsapp-floating-button a {
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.whatsapp-floating-button a:hover {
    background: #20ba5a;
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

/* ========================================
   17. Responsive Design
   ======================================== */

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 30px 0;
        gap: 0;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        display: block;
        padding: 15px;
        border-bottom: 1px solid var(--border-color);
    }

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

    .hero-tagline {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .instagram-content .btn + .btn {
        margin-top: 18px;
    }

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

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .collections-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .maps-container {
        height: 350px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .lightbox-prev, .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .lightbox-close {
        right: 20px;
        font-size: 2rem;
    }

    .whatsapp-floating-button {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-floating-button a {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .hero-tagline {
        font-size: 0.9rem;
    }

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

    .collection-card {
        padding: 25px 20px;
    }

    .collection-image {
        font-size: 2.5rem;
    }

    .contact-form {
        padding: 25px 20px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-features {
        gap: 10px;
    }

    .feature-item {
        padding: 12px;
        font-size: 0.9rem;
    }

    .contact-item {
        padding: 15px;
    }
}

/* ========================================
   18. Accessibility & Print
   ======================================== */

@media print {
    nav, .whatsapp-floating-button {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}

/* Focus visible for keyboard navigation */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Smooth scrolling support */
@supports (scroll-behavior: smooth) {
    html {
        scroll-behavior: smooth;
    }
}

/* Print optimization */
@page {
    margin: 0;
}

/* Mobile-specific: ensure Instagram/Noon buttons are full-width and spaced when stacked */
@media (max-width: 480px) {
    .instagram-content .btn {
        display: flex;
        width: 100%;
        justify-content: center;
        margin: 0;
    }

    .instagram-content .btn + .btn {
        margin-top: 10px;
    }
}
