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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #000;
    background-color: #fff;
}

/* Navigation */
.navbar {
    background-color: #000;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo h1 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ccc;
}

.nav-links a.active {
    color: #fff;
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    padding: 2rem;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease;
}

.hero-caption {
    font-size: 1.4rem;
    font-style: italic;
    margin: 1.5rem 0;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeIn 1.5s ease;
}

.sale-text {
    font-size: 4rem;
    font-weight: bold;
    margin: 1.5rem 0;
    animation: bounceIn 1s ease;
}

.sale-letter {
    display: inline-block;
    margin: 0 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: bounceIn 1s ease;
}

.sale-letter:nth-child(1) { animation-delay: 0.1s; }
.sale-letter:nth-child(2) { animation-delay: 0.2s; }
.sale-letter:nth-child(3) { animation-delay: 0.3s; }
.sale-letter:nth-child(4) { animation-delay: 0.4s; }

@keyframes bounceIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 2px solid #fff;
}

.cta-button:hover {
    transform: translateY(-3px);
    background-color: #fff;
    color: #000;
}

/* Features Section */
.features {
    padding: 5rem 10%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    background-color: #f5f5f5;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: box-shadow 0.3s, border-color 0.3s;
    border: 2px solid #4ecdc4;
    margin: 1rem;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card i {
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: #000;
    color: #fff;
    padding: 3rem 5% 1rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: #fff;
}

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

.footer-section a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ccc;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Floating Contact Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.whatsapp-btn, .call-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    animation: bounceIn 0.5s ease-out;
    background-color: #000;
    border: 2px solid #fff;
}

.whatsapp-btn:hover, .call-btn:hover {
    transform: scale(1.1);
    background-color: #fff;
    color: #000;
}

/* Service Cards */
.services-grid {
    padding: 5rem 10%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    justify-content: center;
}

.service-card {
    background: #fff;
    border-radius: 14px;
    padding: 0 0 2rem 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1.5px solid #bbb;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 8px 24px rgba(0,0,0,0.13);
    border-color: #4ecdc4;
}

.service-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    margin-bottom: 1.5rem;
    background: #f4f4f4;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
    font-size: 1.35rem;
    font-weight: 700;
    text-align: left;
    width: 90%;
}

.service-card p {
    color: #666;
    margin-bottom: 1.2rem;
    width: 90%;
    text-align: left;
    font-size: 1.05rem;
}

.service-card .price {
    font-weight: 600;
    color: #3498db;
    width: 90%;
    text-align: left;
    font-size: 1.08rem;
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .services-grid {
        padding: 2.5rem 3%;
        gap: 1.2rem;
    }
    .service-img {
        height: 140px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 0;
        padding: 10px;
        text-align: center;
    }

    .hamburger {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .services-grid, .portfolio-grid, .product-grid {
        grid-template-columns: 1fr;
    }

    .services-hero h1, .portfolio-hero h1, .product-hero h1 {
        font-size: 2rem;
    }

    .services-hero p, .portfolio-hero p, .product-hero p {
        font-size: 1rem;
    }

    .service-card, .portfolio-item, .product-card {
        padding: 1rem;
    }

    .service-card h3, .portfolio-item h3, .product-card h3 {
        font-size: 1.2rem;
    }

    .service-card p, .portfolio-item p, .product-card p {
        font-size: 0.9rem;
    }
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1002;
}

.hamburger span {
    height: 3px;
    width: 28px;
    background: #222;
    margin: 5px 0;
    border-radius: 2px;
    transition: 0.3s;
}

@media (max-width: 900px) {
    .hamburger {
        display: flex;
        position: absolute;
        right: 24px;
        top: 24px;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100vw;
        width: 60vw;
        max-width: 260px;
        height: 100vh;
        background: #fff;
        box-shadow: -2px 0 16px rgba(0,0,0,0.13);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 60px 24px 24px 24px;
        transition: right 0.3s cubic-bezier(.77,0,.18,1);
        z-index: 1001;
        display: flex;
        gap: 0;
    }
    .nav-links.active {
        right: 0;
    }
    .nav-links li {
        width: 100%;
        margin: 0 0 18px 0;
        padding: 0;
        text-align: left;
    }
    .nav-links a {
        font-size: 1.2rem;
        color: #222;
        display: block;
        width: 100%;
        padding: 10px 0 10px 12px;
        border-radius: 6px;
        transition: background 0.2s, color 0.2s;
    }
    .nav-links a.active, .nav-links li a.active {
        background: #4ecdc4;
        color: #fff;
        font-weight: bold;
    }
    .navbar {
        position: relative;
        min-height: 60px;
    }
}

/* Page Transitions */
.page-transition {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.page-transition.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Featured Products Section */
.featured-products {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
}

.featured-products h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
    font-size: 2.5rem;
}

.products-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
}

.product-item {
    position: relative;
    cursor: pointer;
    width: 300px;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.product-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-info {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1.5rem;
    transition: bottom 0.3s ease;
}

.product-item:hover img {
    transform: scale(1.1);
}

.product-item:hover .product-info {
    bottom: 0;
}

.product-info h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.product-info p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .products-grid {
        gap: 1rem;
    }
    
    .product-item {
        width: 250px;
        height: 250px;
    }
}

/* Slide-in Animations */
.slide-in-left {
    animation: slideInLeft 1s ease forwards;
}

.slide-in-right {
    animation: slideInRight 1s ease forwards;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Animation Delays */
.products-grid .product-card:nth-child(1) {
    animation-delay: 0.2s;
}

.products-grid .product-card:nth-child(2) {
    animation-delay: 0.4s;
}

.products-grid .product-card:nth-child(3) {
    animation-delay: 0.6s;
}

.products-grid .product-card:nth-child(4) {
    animation-delay: 0.8s;
}

/* Ensure the main container doesn't overflow */
main {
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

/* Add these animation classes at the end of the file */

.slide-from-left {
    opacity: 0;
    transform: translateX(-100%);
    animation: slideFromLeft 1s ease forwards;
}

.slide-from-right {
    opacity: 0;
    transform: translateX(100%);
    animation: slideFromRight 1s ease forwards;
}

@keyframes slideFromLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideFromRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Add a small delay for each subsequent item */
.product-item:nth-child(2) {
    animation-delay: 0.2s;
}

.product-item:nth-child(3) {
    animation-delay: 0.4s;
}

.product-item:nth-child(4) {
    animation-delay: 0.6s;
}

/* Promotions Section */
.promotions {
    padding: 4rem 10%;
    background-color: #f9f9f9;
}

.promotions h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #333;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    justify-content: center;
}

.promo-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
    min-width: 320px;
    max-width: 420px;
    height: 270px;
    margin: 0 auto;
}

.promo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.promo-item:hover img {
    transform: scale(1.05);
}

.promo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.promo-overlay h3 {
    margin: 0;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.promo-overlay .price {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #4ECDC4;
}

@media (max-width: 768px) {
    .promotions {
        padding: 2rem 5%;
    }
    
    .promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
}

/* About Us Section */
.about-us {
    padding: 4rem 10%;
    background: #fff;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.about-image {
    flex: 1 1 350px;
    min-width: 280px;
    max-width: 450px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    display: block;
}

.about-content {
    flex: 2 1 400px;
    min-width: 280px;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.about-content p {
    font-size: 1.15rem;
    color: #444;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .about-container {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    .about-content h2 {
        font-size: 2rem;
    }
}

/* Stats Section */
.stats-section {
    background: #2d3133;
    color: #fff;
    padding: 4rem 0 3rem 0;
    text-align: center;
}

.stats-header {
    margin-bottom: 2.5rem;
}

.stats-icons {
    font-size: 2rem;
    letter-spacing: 0.5rem;
    margin-bottom: 1rem;
}

.stats-header p {
    font-size: 1.3rem;
    margin: 0 auto;
    max-width: 700px;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 180px;
    margin-bottom: 2rem;
}

.stat-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 5px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: transparent;
    position: relative;
    transition: box-shadow 0.3s;
}

.stat-orange .stat-circle {
    border-color: #ffb347;
}
.stat-teal .stat-circle {
    border-color: #4ecdc4;
}
.stat-pink .stat-circle {
    border-color: #ff6b81;
}
.stat-blue .stat-circle {
    border-color: #6ec1e4;
}

.stat-number {
    color: inherit;
}

.stat-percent {
    font-size: 1.5rem;
    vertical-align: super;
    margin-left: 0.1em;
}

.stat-label {
    font-size: 1.1rem;
    margin-top: 0.5rem;
    color: #fff;
}

@media (max-width: 900px) {
    .stats-grid {
        gap: 1.2rem;
    }
    .stat-circle {
        width: 130px;
        height: 130px;
        font-size: 2.2rem;
    }
    .stat-item {
        min-width: 120px;
    }
}

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

.about-hero-content, .portfolio-hero-content {
    animation: heroFadeIn 1.2s ease 0.2s both;
}

/* Responsive grid and section adjustments */
@media (max-width: 900px) {
    .services-grid, .portfolio-grid, .product-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        padding: 1.5rem 2vw;
    }
    .service-card, .portfolio-item, .product-card {
        padding: 1rem;
        margin: 0 auto 1.5rem auto;
        width: 100%;
        max-width: 400px;
    }
    .about-info-container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    .about-info-image, .about-info-text {
        min-width: 0;
        max-width: 100%;
    }
    .about-info-image img {
        width: 100%;
        height: auto;
    }
}

.back-btn {
    display: none;
}
@media (max-width: 900px) {
    .back-btn {
        display: block !important;
        margin-bottom: 18px;
    }
    #mobile-back-btn {
        color: #4ecdc4;
        background: none;
        border: none;
        font-weight: bold;
        padding: 10px 0 10px 0;
        width: 100%;
        border-radius: 6px;
        cursor: pointer;
        transition: background 0.2s, color 0.2s;
    }
    #mobile-back-btn:hover {
        background: #f4f4f4;
        color: #222;
    }
} 