/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1a202c;
    background-color: #ffffff;
    overflow-x: hidden;
    width: 100%;
}

body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

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

/* Typography */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.5rem;
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    margin-bottom: 0.5rem;
}

p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    margin-bottom: 1rem;
    color: #2d3748;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.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;
}

.nav-logo-img {
    height: 18px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.nav-logo-img:hover {
    transform: scale(1.05);
}

.nav-logo h2 {
    font-family: 'Playfair Display', serif;
    color: #8b5cf6;
    margin: 0;
    font-size: 1.5rem;
}

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

.nav-link {
    text-decoration: none;
    color: #1a202c;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #8b5cf6;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #8b5cf6;
    transition: width 0.3s ease;
}

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

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

.bar {
    width: 25px;
    height: 3px;
    background-color: #1a202c;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #faf5ff 0%, #f7fafc 50%, #fed7e2 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    background: linear-gradient(135deg, #1a202c 0%, #8b5cf6 40%, #d946ef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #2d3748;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 400;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.5);
}

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.floating-products {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 15px;
    padding: 20px;
}

.product-float {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid rgba(139, 92, 246, 0.15);
    will-change: transform;
    animation: floatBounded 6s ease-in-out infinite;
    min-width: 0;
    min-height: 0;
}

.product-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
}

.product-float video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    background: #f7fafc;
}

.video-placeholder {
    width: 80%;
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%);
    color: white;
    border-radius: 18px;
    font-size: 1.5rem;
}

/* Animation delays for grid items */
.product-float:nth-child(1) {
    animation-delay: 0s;
}

.product-float:nth-child(2) {
    animation-delay: 1s;
}

.product-float:nth-child(3) {
    animation-delay: 2s;
}

.product-float:nth-child(4) {
    animation-delay: 3s;
}

.product-float:nth-child(5) {
    animation-delay: 4s;
}

@keyframes floatBounded {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(1deg);
    }
    50% {
        transform: translateY(-15px) rotate(2deg);
    }
    75% {
        transform: translateY(-8px) rotate(1deg);
    }
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #2d3748;
    animation: bounce 2s infinite;
}

.hero-scroll span {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Portfolio Section */
.portfolio {
    padding: 6rem 0;
    background: white;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: #1a202c;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header p {
    font-size: 1.375rem;
    color: #1a202c;
    margin-bottom: 2rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
    background: linear-gradient(135deg, #1a202c 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%);
    margin: 0 auto;
    border-radius: 2px;
}

.portfolio-description {
    text-align: center;
    font-size: 1.125rem;
    color: #2d3748;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    width: 100%;
    max-width: 100%;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.15);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    border: 1px solid rgba(139, 92, 246, 0.15);
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    height: auto;
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(139, 92, 246, 0.25);
    border-color: rgba(139, 92, 246, 0.3);
}

.product-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #faf5ff 0%, #f7fafc 50%, #fed7e2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 40px;
    flex-shrink: 0;
}

.product-image-wrapper {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image-wrapper {
    transform: scale(1.02);
}

.product-image img {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.03);
}

.product-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    min-height: 180px;
}

.product-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1a202c 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-description {
    color: #2d3748;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: auto;
    flex-grow: 1;
    font-weight: 400;
}

.product-category {
    display: inline-block;
    background: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 1.5rem;
    align-self: flex-start;
    flex-shrink: 0;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: all 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    background-color: white;
    margin: auto;
    padding: 0;
    border-radius: 20px;
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.15);
    background: linear-gradient(135deg, #faf5ff 0%, #f7fafc 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a202c;
    margin: 0;
    background: linear-gradient(135deg, #1a202c 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #2d3748;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.modal-close:hover {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
    transform: rotate(90deg);
}

.modal-body {
    display: flex;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.modal-image-container {
    flex: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #faf5ff 0%, #f7fafc 50%, #fed7e2 100%);
    padding: 4rem;
    min-height: 0;
    overflow: hidden;
}

.modal-image-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    cursor: pointer;
}

.modal-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.modal-info {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: white;
    min-width: 280px;
    overflow-y: auto;
    overflow-x: hidden;
}

.modal-product-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1a202c 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-product-description {
    color: #2d3748;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.modal-product-category {
    display: inline-block;
    background: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%);
    color: white;
    padding: 0.625rem 1.25rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.modal-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modal-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
    color: #2d3748;
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 400;
}

.modal-features li::before {
    content: '✨';
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

/* Fullscreen Image Modal */
.fullscreen-modal {
    display: none;
    position: fixed;
    z-index: 20000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.fullscreen-modal.show {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.fullscreen-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.fullscreen-modal.show .fullscreen-content {
    transform: scale(1);
}

.fullscreen-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
    display: block;
}

.fullscreen-close {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 20001;
}

.fullscreen-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* About Section */
.about {
    padding: 6rem 0;
    background: linear-gradient(135deg, #faf5ff 0%, #f7fafc 100%);
    overflow: hidden;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.about-text h2 {
    color: #1a202c;
    margin-bottom: 2rem;
    font-weight: 700;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.feature:hover {
    transform: translateX(10px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    color: white;
    font-size: 1.25rem;
}

.feature-content h3 {
    color: #1a202c;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.feature-content p {
    color: #2d3748;
    font-size: 0.95rem;
    margin: 0;
    font-weight: 400;
}

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

.visual-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.15);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.visual-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%);
}

.visual-card i {
    font-size: 3rem;
    color: #8b5cf6;
    margin-bottom: 1.5rem;
}

.visual-card h3 {
    color: #1a202c;
    margin-bottom: 1rem;
    font-weight: 600;
}

.visual-card p {
    color: #2d3748;
    margin: 0;
    font-weight: 400;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: white;
    overflow: hidden;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    color: #1a202c;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.contact-info p {
    color: #2d3748;
    margin-bottom: 2rem;
    font-size: 1.125rem;
    font-weight: 400;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #2d3748;
    font-weight: 500;
}

.contact-item i {
    width: 20px;
    color: #8b5cf6;
}

.contact-form {
    background: linear-gradient(135deg, #faf5ff 0%, #f7fafc 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background: white;
    color: #1a202c;
    font-weight: 400;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8b5cf6;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.4);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.5);
}

/* Footer */
.footer {
    background: #1a202c;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 2rem;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-brand h3 {
    font-family: 'Playfair Display', serif;
    color: #8b5cf6;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-brand p {
    color: #a0aec0;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    font-weight: 400;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(139, 92, 246, 0.15);
    color: #8b5cf6;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.125rem;
}

.social-link:hover {
    background: #8b5cf6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

.footer-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.footer-locations h4,
.footer-links h4 {
    color: #8b5cf6;
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.location-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.location-tag {
    display: inline-block;
    background: rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(139, 92, 246, 0.25);
    transition: all 0.3s ease;
}

.location-tag:hover {
    background: rgba(139, 92, 246, 0.3);
    transform: translateY(-1px);
}

.link-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.link-list a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    padding: 0.25rem 0;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 400;
}

.link-list a:hover {
    color: #8b5cf6;
    padding-left: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #2d3748;
}

.footer-bottom p {
    color: #a0aec0;
    margin: 0;
    font-size: 0.875rem;
    font-weight: 400;
}

/* Small screens responsive breakpoint */
@media (max-width: 1024px) {
    .modal-body {
        flex-direction: column;
    }
    
    .modal-image-container {
        flex: none;
        height: 50vh;
        min-height: 300px;
        padding: 2rem;
    }
    
    .modal-image-wrapper {
        aspect-ratio: 1 / 1;
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: 100%;
    }
    
    .modal-image {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
    }
    
    .modal-info {
        flex: 1;
        min-width: auto;
        max-height: 50vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .fullscreen-modal.show {
        padding: 50px;
    }

    .fullscreen-close {
        top: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 1.75rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .footer-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .location-tags {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    /* Adjust floating products grid for tablets */
    .floating-products {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 12px;
        padding: 15px;
    }
}

/* Enhanced tablet breakpoint */
@media (max-width: 900px) {
    .modal-content {
        max-width: 95vw;
        max-height: 95vh;
    }
    
    .modal-body {
        flex-direction: column;
        overflow: hidden;
    }
    
    .modal-image-container {
        flex: none;
        height: 45vh;
        min-height: 280px;
        max-height: 400px;
        padding: 1.5rem;
    }
    
    .modal-image-wrapper {
        padding: 1.5rem;
        width: 100%;
        height: 100%;
        aspect-ratio: 1 / 1;
        max-width: 100%;
        max-height: 100%;
    }
    
    .modal-image {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
    }
    
    .modal-info {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        padding: 1.5rem;
    }
    
    .modal-product-name {
        font-size: 1.5rem;
    }

    .fullscreen-modal.show {
        padding: 40px;
    }

    .fullscreen-close {
        top: 12px;
        right: 12px;
        width: 42px;
        height: 42px;
        font-size: 1.6rem;
    }

    /* Adjust floating products grid for smaller tablets */
    .floating-products {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 10px;
        padding: 12px;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        left: 0;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1.5rem;
        z-index: 999;
    }


    .nav-menu.active {
        display: flex;
        animation: menuFadeIn 0.3s ease forwards;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-logo-img {
        height: 18px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding-top: 2rem;
    }

    .hero-visual {
        order: -1;
        height: 300px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .location-tags {
        justify-content: center;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature {
        flex-direction: column;
        text-align: center;
    }

    .feature-icon {
        align-self: center;
    }

    .product-image {
        height: 300px;
        padding: 30px;
    }

    .product-image img {
        width: 220px;
        height: 220px;
    }

    .fullscreen-close {
        top: 10px;
        right: 10px;
        position: fixed;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .fullscreen-modal.show {
        padding: 50px 15px 15px;
    }

    /* Mobile floating products grid */
    .floating-products {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 8px;
        padding: 10px;
    }

    .product-float {
        width: 120px;
        height: 120px;
    }

    /* Enhanced Mobile Modal Styles */
    .modal {
        align-items: flex-start;
        justify-content: flex-start;
        padding: 0;
        overflow: auto;
    }

    .modal-content {
        width: 100vw;
        max-width: 100vw;
        height: 100vh;
        max-height: 100vh;
        margin: 0;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        transform: translateY(100%);
    }

    .modal.show .modal-content {
        transform: translateY(0);
    }

    .modal-header {
        position: sticky;
        top: 0;
        z-index: 100;
        background: white;
        border-bottom: 2px solid rgba(139, 92, 246, 0.15);
        padding: 1.25rem 1.5rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        flex-shrink: 0;
    }

    .modal-title {
        font-size: 1.375rem;
        line-height: 1.3;
        margin: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: calc(100% - 60px);
    }

    .modal-close {
        width: 44px;
        height: 44px;
        font-size: 1.75rem;
        background: rgba(139, 92, 246, 0.1);
        border-radius: 50%;
        color: #8b5cf6;
    }

    .modal-body {
        flex: 1;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .modal-image-container {
        flex: none;
        height: 50vh;
        min-height: 300px;
        max-height: 400px;
        padding: 1.5rem;
        background: linear-gradient(135deg, #faf5ff 0%, #f7fafc 50%, #fed7e2 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .modal-image-wrapper {
        padding: 1.5rem;
        border-radius: 15px;
        box-shadow: 0 15px 40px rgba(139, 92, 246, 0.25);
        max-width: 100%;
        max-height: 100%;
        overflow: hidden;
        width: auto;
        height: 100%;
        aspect-ratio: 1 / 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .modal-image {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
        border-radius: 15px;
    }

    .modal-info {
        flex: 1;
        min-width: auto;
        padding: 1.5rem;
        background: white;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: rgba(139, 92, 246, 0.3) transparent;
    }

    .modal-product-name {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 1rem;
        word-wrap: break-word;
        hyphens: auto;
    }

    .modal-product-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.25rem;
        color: #2d3748;
    }

    .modal-product-category {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
        margin-bottom: 1.25rem;
        border-radius: 20px;
    }

    .modal-features {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .modal-features li {
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
        margin-bottom: 1rem;
        font-size: 0.95rem;
        line-height: 1.5;
        color: #2d3748;
        word-wrap: break-word;
        hyphens: auto;
    }

    .modal-features li::before {
        content: '✨';
        font-size: 1rem;
        flex-shrink: 0;
        margin-top: 0.125rem;
    }

    /* Custom scrollbar for modal info on mobile */
    .modal-info::-webkit-scrollbar {
        width: 4px;
    }

    .modal-info::-webkit-scrollbar-track {
        background: rgba(139, 92, 246, 0.05);
        border-radius: 2px;
    }

    .modal-info::-webkit-scrollbar-thumb {
        background: rgba(139, 92, 246, 0.3);
        border-radius: 2px;
    }

    .modal-info::-webkit-scrollbar-thumb:hover {
        background: rgba(139, 92, 246, 0.5);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 2rem 0;
    }

    .portfolio,
    .about,
    .contact {
        padding: 4rem 0;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .cta-button {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-image {
        height: 280px;
        padding: 25px;
    }

    .product-image img {
        width: 200px;
        height: 200px;
    }

    .nav-logo-img {
        height: 16px;
    }

    .fullscreen-modal.show {
        padding: 45px 10px 10px;
    }

    .fullscreen-close {
        top: 8px;
        right: 8px;
        width: 36px;
        height: 36px;
        font-size: 1.375rem;
    }

    .footer-content {
        gap: 2rem;
    }

    .location-tags {
        gap: 0.5rem;
    }

    .location-tag {
        padding: 0.375rem 0.75rem;
        font-size: 0.8rem;
    }

    .social-link {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    /* Small screen floating products */
    .hero-visual {
        height: 250px;
    }

    .floating-products {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 6px;
        padding: 8px;
    }

    .product-float {
        width: 120px;
        height: 120px;
    }


    /* Extra small screen modal adjustments */
    .modal-header {
        padding: 1rem 1.25rem;
    }

    .modal-title {
        font-size: 1.25rem;
        max-width: calc(100% - 55px);
    }

    .modal-close {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .modal-image-container {
        height: 45vh;
        min-height: 280px;
        max-height: 350px;
        padding: 1.25rem;
    }

    .modal-image-wrapper {
        padding: 1.25rem;
        aspect-ratio: 1 / 1;
        width: auto;
        height: 100%;
    }

    .modal-info {
        padding: 1.25rem;
    }

    .modal-product-name {
        font-size: 1.375rem;
        margin-bottom: 0.875rem;
    }

    .modal-product-description {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .modal-product-category {
        padding: 0.5rem 0.875rem;
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }

    .modal-features li {
        font-size: 0.9rem;
        margin-bottom: 0.875rem;
        gap: 0.625rem;
    }

    .modal-features li::before {
        font-size: 0.95rem;
    }
}

@media (max-width: 360px) {
    .modal-header {
        padding: 0.875rem 1rem;
    }

    .modal-title {
        font-size: 1.125rem;
        max-width: calc(100% - 50px);
    }

    .modal-close {
        width: 36px;
        height: 36px;
        font-size: 1.375rem;
    }

    .modal-image-container {
        height: 40vh;
        min-height: 250px;
        max-height: 300px;
        padding: 1rem;
    }

    .modal-image-wrapper {
        padding: 1rem;
        aspect-ratio: 1 / 1;
        width: auto;
        height: 100%;
    }

    .modal-info {
        padding: 1rem;
    }

    .modal-product-name {
        font-size: 1.25rem;
    }

    .modal-product-description {
        font-size: 0.9rem;
    }

    .modal-features li {
        font-size: 0.85rem;
        gap: 0.5rem;
    }

    .nav-logo-img {
        height: 15px;
    }
    
    .fullscreen-modal.show {
        padding: 40px 8px 8px;
    }

    .fullscreen-close {
        top: 6px;
        right: 6px;
        width: 32px;
        height: 32px;
        font-size: 1.25rem;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .location-tags {
        gap: 0.375rem;
    }

    .location-tag {
        padding: 0.25rem 0.625rem;
        font-size: 0.75rem;
    }

    .social-link {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    /* Extra small screen floating products */
    .hero-visual {
        height: 220px;
    }

    .floating-products {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 4px;
        padding: 6px;
    }
}

/* Additional Animations */
@keyframes menuFadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #c026d3 100%);
}

/* Modal scrollbar styling for desktop */
.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(139, 92, 246, 0.1);
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.3);
    border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.5);
}