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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

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

/* Header */
header {
    background: #2c2a2a;
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(45deg, #f39c12, #e67e22);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

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

.mobile-menu {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c') no-repeat center center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgb(0 0 0 / 70%), rgba(52, 73, 94, 0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 300;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.5rem;
    opacity: 0;
}

.hero-content .highlight {
    color: #f39c12;
    font-weight: 600;
}

.hero-content p {
    font-size: 1.5rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0;
}

.cta-button {
    background: linear-gradient(45deg, #f39c12, #e67e22);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 20px rgba(243, 156, 18, 0.3);
    opacity: 0;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(243, 156, 18, 0.5);
}


/* Page Sections */
.page {
    display: none;
    min-height: calc(100vh - 80px);
    margin-top: 80px;
    padding: 4rem 0;
}

.page.active {
    display: block;
}

.page h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-weight: 300;
}

/* Categories Section */
.categories-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-weight: 300;
    position: relative;
}

.section-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #f39c12, #e67e22);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.category-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    position: relative;
    /* opacity: 0; */
}

.category-card {
    opacity: 1 !important;
    /* transform: none !important; */
    transition: box-shadow 0.6s cubic-bezier(.32,1.23,.59,1.12);
}


.category-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.category-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .category-image {
    transform: scale(1.1);
}

.category-card h3 {
    font-size: 1.5rem;
    margin: 1rem 0 0.5rem;
    color: #2c3e50;
    text-align: center;
}

.category-card p {
    padding: 0 1.5rem 1.5rem;
    color: #666;
    text-align: center;
}

/* Product Categories */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.category-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: linear-gradient(45deg, #f39c12, #e67e22);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.category-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.category-card p {
    color: #666;
    line-height: 1.6;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 3rem;
}

.about-text h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 2rem;
    border-radius: 15px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f39c12;
    display: block;
}

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

/* Product Detail */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.product-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #f39c12;
}

.product-info h3 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.product-specs {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.product-specs h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.specs-list {
    list-style: none;
}

.specs-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
}

/* Projects Gallery */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #f39c12;
}

.project-info {
    padding: 1.5rem;
}

/* Contact Form */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

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

.contact-info h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f39c12, #e67e22);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* Dealer Section */
.dealer-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(45deg, #f39c12, #e67e22);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

/* Footer */
footer {
    background: #2c2a2a;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: #f39c12;
}

.footer-section a {
    color: #ecf0f1;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

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

    .about-content,
    .contact-content,
    .product-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #f39c12;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* About Ritzello Section */
.about-ritzello {
    padding: 5rem 0;
    background: white;
}

.about-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    padding: 2rem 0;
}

.timeline-item {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    opacity: 0;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #f39c12, #e67e22);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin: 0 auto 1rem;
    transition: transform 0.3s ease;
}

.timeline-item:hover .timeline-icon {
    transform: rotate(360deg);
}

.timeline-item h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.timeline-item p {
    color: #666;
    font-size: 1rem;
}

/* Animations */
.animate-text {
    animation: fadeSlideUp 1s ease forwards;
}

.animate-button {
    animation: fadeSlideUp 1s ease 0.3s forwards;
}

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

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .about-timeline {
        grid-template-columns: 1fr;
    }
}

/* ...existing styles... */

.image-skeleton {
    width: 100%;
    height: 300px;
    border-radius: 10px 10px 0 0;
    background: linear-gradient(90deg, #f8f8f8 25%, #e9ecef 37%, #f8f8f8 63%);
    background-size: 400% 100%;
    animation: skeleton-loading 1.3s ease-in-out infinite;
    position: absolute;
    left: 0; top: 0;
    z-index: 2;
    display: block;
}

.category-card {
    position: relative; /* needed for skeleton overlay */
    overflow: hidden;
    width: 92%;
    margin-left: 16px;
    /* ...existing... */
}

.category-image {
    /* opacity: 0; */
    transition: opacity 0.7s cubic-bezier(.36,1.49,.45,1), filter 0.5s;
    z-index: 3;
    position: relative;
    /* ...existing... */
}

@keyframes skeleton-loading {
    0% { background-position: 100% 0; }
    100% { background-position: 0 0; }
}


.logo {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    font-size: unset !important;
    font-weight: unset !important;
}


.fab-container {
    position: fixed;
    right: 32px;
    bottom: 32px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /* Add this for stacking context: */
    pointer-events: none;
}
.fab-main, .fab-actions {
    pointer-events: all; /* Allow clicks on children */
}
.fab-main {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.fab-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}
.fab-main {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: #f39c12;
    color: #fff;
    box-shadow: 0 4px 18px rgba(44,62,80,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
    outline: none;
    transition: background 0.18s;
}
.fab-icon {
    /* width: 32px; */
    height: 42px;
    object-fit: contain;
    border-radius: 50%;
    display: block;
    background: white;
    /* box-shadow: 0 2px 8px rgba(44,62,80,0.12); */
}
.fab-action {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(44,62,80,0.18);
    transition: box-shadow 0.23s, transform 0.23s;
    cursor: pointer;
}


.fab-main:hover {
    background: #e67e22;
}

.fab-container .fab-main {
    position: relative;
    z-index: 2;
}

.fab-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 12px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition: opacity 0.23s, transform 0.23s;
}

.fab-actions {
    display: flex;
    flex-direction: column-reverse;
    gap: 16px;
    margin-bottom: 72px; /* space so icons start just above main FAB */
    opacity: 0;
    pointer-events: none;
    transform: translateY(24px) scale(0.97);
    transition: 
        opacity 0.23s cubic-bezier(.46,1.48,.56,1),
        transform 0.26s cubic-bezier(.46,1.48,.56,1);
    position: absolute;
    right: 0;
    bottom: 0;
}
.fab-container.active .fab-actions {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0) scale(1.04);
}

.fab-action:hover {
    box-shadow: 0 6px 24px rgba(44,62,80,0.21);
    transform: scale(1.08);
}
.fab-action svg { display: block; }
.fab-action[aria-label="WhatsApp"] { border-color: #25D366; }
.fab-action[aria-label="Email"]    { border-color: #f39c12; }
.fab-action[aria-label="Call"]     { border-color: #2ecc71; }

@media (max-width: 600px) {
    .fab-container {
        right: 18px;
        bottom: 18px;
    }
    .fab-main { width: 48px; height: 48px; font-size: 22px; }
    .fab-icon {height: 35px;}
    .fab-action { width: 48px; height: 48px; }
}

@media (max-width: 768px) {
    .nav-links.open {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(67deg, rgb(62 62 62) 0%, rgb(53 52 52) 100%);
        padding: 1rem;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        z-index: 100;
    }
}


.nav-links.open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(67deg, rgb(62 62 62) 0%, rgb(53 52 52) 100%);
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 100;
}

.about-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.timeline-item {
    border-left: 4px solid #f39c12;
    padding-left: 1rem;
    position: relative;
    opacity: 1;
}

.timeline-year {
    font-weight: bold;
    color: #f39c12;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.timeline-content h4 {
    margin: 0 0 0.3rem 0;
    font-size: 1.1rem;
}

.timeline-content p {
    margin: 0;
    color: #7f8c8d;
    line-height: 1.6;
}

