/* Import Modern Font */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* CSS Variables - Design System */
:root {
    --primary-gradient: linear-gradient(135deg, #ec4899 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --nature-gradient: linear-gradient(135deg, #ec4899 0%, #be185d 100%);

    --bg-dark: #ffffff;
    --bg-card: rgba(0, 0, 0, 0.03);
    --text-light: #1a1a2e;
    --text-muted: #5a5a6e;
    --accent-1: #ec4899;
    --accent-2: #ec4899;
    --accent-3: #f093fb;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 30px rgba(236, 72, 153, 0.3);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Global Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.2rem 5%;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

nav .nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

nav .logo .logo-img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    transition: var(--transition-base);
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 5px;
}

nav .logo:hover .logo-img {
    transform: scale(1.1) rotate(5deg);
}

nav .logo span {
    color: #ec4899;
}

/* Hamburger - always hidden, not used */
.hamburger {
    display: none;
}

/* Mobile Bottom Nav - hidden everywhere */
.mobile-bottom-nav {
    display: none;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition-base);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--nature-gradient);
    transition: var(--transition-base);
}

nav ul li a:hover {
    color: var(--accent-2);
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a.active {
    color: var(--accent-2);
}

nav ul li a.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 5% 4rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(67, 233, 123, 0.15) 0%, transparent 50%);
    z-index: 0;
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #ec4899;
}

.hero-text .tagline {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2.5rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition-base);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--nature-gradient);
    color: #ffffff;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(236, 72, 153, 0.5);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    border-color: var(--accent-2);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-slow);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero-image img:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 20px 60px rgba(236, 72, 153, 0.4);
}

/* Section Styles */
section {
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #ec4899;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 4rem;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

/* Section title inside product-grid spans full width */
.product-grid .section-title {
    grid-column: 1 / -1;
    width: 100%;
}

.product-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-base);
    border: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-2);
}

.product-card img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    object-position: center;
    transition: var(--transition-base);
    flex-shrink: 0;
    background: #f8f8f8;
    padding: 10px;
}

.product-card-main img {
    height: 350px;
    max-height: 350px;
    object-fit: cover;
    object-position: center;
    padding: 0;
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.product-info p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    flex: 1;
}

.product-info .price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ec4899;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    background: #ffffff;
    transition: var(--transition-base);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition-base);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    padding: 1.5rem;
    background: #ffffff;
    text-align: left;
}

.gallery-caption h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.gallery-caption p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--accent-2);
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-2);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* Contact Form */
.contact-container {
    max-width: 800px;
    margin: 3rem auto;
    background: #ffffff;
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: #f8f8f8;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-sm);
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    transition: var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-2);
    box-shadow: 0 0 0 3px rgba(67, 233, 123, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    width: 100%;
    padding: 1.2rem;
    background: var(--nature-gradient);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.4);
}

/* Footer */
footer {
    background: #f8f8f8;
    padding: 3rem 5%;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

footer p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.social-links a {
    color: var(--text-light);
    font-size: 1.5rem;
    transition: var(--transition-base);
}

.social-links a:hover {
    color: var(--accent-2);
    transform: translateY(-3px);
}

/* Responsive Design */

/* Large Tablets and Small Desktops */
@media (max-width: 968px) {

    .hero-content,
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    nav ul {
        gap: 1.5rem;
    }

    nav .logo {
        font-size: 1.5rem;
    }

    nav .logo .logo-img {
        width: 40px;
        height: 40px;
    }

    .hero {
        padding: 6rem 5% 3rem;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-text .tagline {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    section {
        padding: 4rem 5%;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .features {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .product-card-main img {
        height: 280px;
        max-height: 280px;
    }
}

/* Tablets & Mobile - Two-Row Top Nav */
@media (max-width: 768px) {
    nav {
        padding: 0;
        flex-direction: column;
    }

    nav .nav-container {
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        gap: 0;
    }

    /* Top row: Logo */
    nav .logo {
        padding: 0.8rem 4%;
        font-size: 1.3rem;
        border-bottom: 1px solid rgba(236, 72, 153, 0.1);
    }

    /* Second row: Nav links - horizontal scroll */
    nav ul {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 0;
        padding: 0 2%;
        margin: 0;
        scrollbar-width: none;
        -ms-overflow-style: none;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 2px solid rgba(236, 72, 153, 0.12);
        justify-content: space-around;
    }

    nav ul::-webkit-scrollbar {
        display: none;
    }

    nav ul li {
        flex: 1;
        min-width: fit-content;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 0.7rem 0.8rem;
        font-size: 0.8rem;
        font-weight: 600;
        white-space: nowrap;
        color: var(--text-muted);
        border-bottom: 3px solid transparent;
        transition: all 0.2s ease;
    }

    nav ul li a:hover,
    nav ul li a.active {
        color: #ec4899;
        border-bottom-color: #ec4899;
        background: rgba(236, 72, 153, 0.05);
    }

    nav ul li a::after {
        display: none;
    }

    /* Content padding to account for two-row nav */
    body {
        padding-bottom: 0;
    }

    .hero {
        padding: 7rem 4% 2rem;
        min-height: auto;
    }

    .hero-text h1 {
        font-size: 2.8rem;
        margin-bottom: 1rem;
    }

    .hero-text .tagline {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }

    section {
        padding: 3.5rem 4%;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.5rem;
    }

    .product-card-main img {
        height: 240px;
        max-height: 240px;
    }

    .contact-container {
        padding: 2rem;
    }

    .about-content {
        gap: 2rem;
    }

    .about-text h3 {
        font-size: 1.8rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    /* CTA section buttons fix */
    .cta-flex-mobile {
        flex-direction: column !important;
        align-items: center !important;
    }
}

/* Mobile Devices */
@media (max-width: 600px) {
    nav .logo {
        font-size: 1.1rem;
        padding: 0.7rem 4%;
    }

    nav .logo .logo-img {
        width: 35px;
        height: 35px;
    }

    nav ul li a {
        font-size: 0.72rem;
        padding: 0.6rem 0.5rem;
    }

    .hero {
        padding: 5rem 4% 2rem;
    }

    .hero-text h1 {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    .hero-text .tagline {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 1rem 2rem;
        font-size: 1rem;
        min-height: 48px;
        /* Touch-friendly */
    }

    section {
        padding: 3rem 4%;
    }

    .section-title {
        font-size: 1.9rem;
        margin-bottom: 0.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-card-main img {
        height: 220px;
        max-height: 220px;
    }

    .product-card img {
        height: 220px;
    }

    .gallery-item img {
        height: 220px;
    }

    .product-info h3,
    .gallery-caption h3 {
        font-size: 1.3rem;
    }

    .product-info p,
    .gallery-caption p {
        font-size: 0.9rem;
    }

    .product-info .price {
        font-size: 1.5rem;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 2rem;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    .contact-container {
        padding: 1.5rem;
        margin: 2rem auto;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.9rem;
        font-size: 1rem;
    }

    .submit-btn {
        padding: 1rem;
        font-size: 1rem;
        min-height: 48px;
        /* Touch-friendly */
    }

    .about-content {
        gap: 1.5rem;
    }

    .about-text h3 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .about-text p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .values-text {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }

    .values-container {
        padding: 1.5rem !important;
    }

    footer {
        padding: 2rem 4%;
    }

    .social-links a {
        font-size: 1.3rem;
    }

    /* CTA buttons mobile fix */
    .cta-section-buttons {
        flex-direction: column !important;
        align-items: center !important;
        gap: 1rem !important;
    }

    .cta-section-buttons a {
        width: 100%;
        text-align: center;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    nav .logo {
        font-size: 1rem;
        padding: 0.6rem 3%;
    }

    nav .logo .logo-img {
        width: 32px;
        height: 32px;
    }

    nav ul li a {
        font-size: 0.68rem;
        padding: 0.55rem 0.4rem;
    }

    .hero {
        padding: 7.5rem 3% 1.5rem;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text .tagline {
        font-size: 0.9rem;
    }

    section {
        padding: 2.5rem 3%;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .product-card img,
    .gallery-item img {
        height: 220px;
    }

    .product-info,
    .gallery-caption {
        padding: 1.2rem;
    }

    .product-info h3,
    .gallery-caption h3 {
        font-size: 1.2rem;
    }

    .product-info .price {
        font-size: 1.4rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .contact-container {
        padding: 1.2rem;
    }

    .about-text h3 {
        font-size: 1.4rem;
    }

    .values-text {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
    }

    .values-container {
        padding: 1.2rem !important;
    }
}

/* Very Small Mobile Devices */
@media (max-width: 320px) {
    nav .logo {
        font-size: 1rem;
    }

    nav ul {
        font-size: 0.8rem;
    }

    .hero-text h1 {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .btn-primary,
    .btn-secondary {
        font-size: 0.9rem;
        padding: 0.9rem 1.5rem;
    }
}

/* Scroll Animation Classes (used by JS IntersectionObserver) */
.section-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-animate.section-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Fallback: if JS fails or observer doesn't fire, sections are always visible */
@media (prefers-reduced-motion: reduce) {
    .section-animate {
        opacity: 1;
        transform: none;
        transition: none;
    }
}