/* Global Styles */
:root {
    --primary-red: #e63946;
    --primary-yellow: #ffbe0b;
    --primary-black: #1a1a1a;
    --primary-gray: #6c757d;
    --light-gray: #f8f9fa;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--primary-black);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    background-color: var(--primary-red);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #c1121f;
    transform: translateY(-2px);
}

h1,
h2,
h3,
h4 {
    margin-bottom: 15px;
}

/* Header Styles */
.top-bar {
    background-color: var(--primary-black);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
}

.contact-info i {
    margin-right: 5px;
    color: var(--primary-yellow);
}

.contact-area span {
    color: #FFD700;
    /* yellow */
    font-weight: bold;
}


.phone,
.email {
    color: #FFD700;
    font-weight: bold;
}


.social-icons a {
    color: var(--white);
    margin-left: 15px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-yellow);
}

nav {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: var(--primary-red);
    font-size: 24px;
    margin-bottom: 5px;
}

.logo p {
    color: var(--primary-gray);
    font-size: 12px;
}

.logo-img {
    max-height: 80px;
    /* Adjust this value to fit your design */
    width: auto;
    margin-bottom: 10px;
}

/* For mobile responsiveness */
@media (max-width: 768px) {
    .logo-img {
        max-height: 60px;
    }
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-black);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-red);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 20px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(34, 69, 103, 0.6), rgba(255, 255, 255, 0.1)), url('images/illuminated-brooklyn-bridge.jpg') no-repeat center center/cover;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--light-gray);
    text-align: center;
}

.services h2 {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.services h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary-yellow);
    margin: 15px auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 40px;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--primary-black);
    margin-bottom: 15px;
}

/* Brands Section */
.brands {
    padding: 80px 0;
    text-align: center;
}

.brands h2 {
    margin-bottom: 50px;
    position: relative;
}

.brands h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary-yellow);
    margin: 15px auto;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    align-items: center;
}

.brand-logo {
    background-color: var(--light-gray);
    padding: 20px;
    border-radius: 5px;
    font-weight: bold;
    color: var(--primary-black);
    transition: all 0.3s ease;
}

.brand-logo:hover {
    background-color: var(--primary-red);
    color: var(--white);
}

/* Hours & Location Section */
.hours-location {
    padding: 80px 0;
    background-color: var(--primary-black);
    color: var(--white);
}

.hours-location .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.hours h2,
.location h2 {
    color: var(--primary-yellow);
    margin-bottom: 30px;
    position: relative;
}

.hours h2::after,
.location h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary-red);
    margin: 15px 0;
}

.hours ul {
    list-style: none;
}

.hours li {
    margin-bottom: 15px;
}

.location address {
    margin-bottom: 20px;
    font-style: normal;
    line-height: 1.8;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--light-gray);
    text-align: center;
}

.testimonials h2 {
    margin-bottom: 50px;
    position: relative;
}

.testimonials h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary-yellow);
    margin: 15px auto;
}

.testimonials .container {
    background-color: #9f9f9f;
    /* Schimbă cu orice culoare vrei, ex: #e0e0e0 sau red */
    border-radius: 12px;
    /* Opțional: colțuri rotunjite */
    padding: 32px;
    /* Opțional: spațiere internă */
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.testimonial-content {
    flex-grow: 1;
    margin-bottom: 20px;
    font-style: italic;
    position: relative;
}

.testimonial-content p {
    margin-bottom: 0;
}

.testimonial-content::before {
    content: '"';
    font-size: 60px;
    color: var(--primary-red);
    opacity: 0.2;
    position: absolute;
    left: -10px;
    top: -20px;
    font-family: Georgia, serif;
}

.testimonial-author {
    text-align: right;
    margin-top: auto;
}

.author-name {
    font-weight: bold;
    color: var(--primary-black);
}

.author-source {
    color: var(--primary-gray);
    font-size: 0.9em;
    margin: 5px 0;
}

.rating {
    color: var(--primary-yellow);
    font-size: 0.9em;
}

.customer {
    font-weight: bold;
    color: var(--primary-red);
}

/* Detailed Services Section */
.detailed-services {
    padding: 80px 0;
    background-color: var(--white);
}

.detailed-services h2 {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.detailed-services h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary-yellow);
    margin: 15px auto;
}

.service-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.category {
    background-color: var(--light-gray);
    padding: 25px;
    border-radius: 5px;
    border-top: 4px solid var(--primary-red);
}

.category h3 {
    color: var(--primary-black);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.category h3 i {
    margin-right: 10px;
    color: var(--primary-red);
}

.category ul {
    list-style: none;
}

.category li {
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
    position: relative;
    padding-left: 20px;
}

.category li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-yellow);
}

/* Repair Brands Section */
.repair-brands {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.repair-brands h2 {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.repair-brands h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary-yellow);
    margin: 15px auto;
}

.brands-detail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.brand-column h3 {
    color: var(--primary-red);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-yellow);
}

.brand-column ul {
    list-style: none;
}

.brand-column li {
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}

.brands-note {
    text-align: center;
    font-style: italic;
    color: var(--primary-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* About Us Section */
.about-us {
    padding: 80px 0;
    background-color: var(--white);
}

.about-us h2 {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.about-us h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary-yellow);
    margin: 15px auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    color: var(--primary-black);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: center;
    background-color: var(--light-gray);
    padding: 15px;
    border-radius: 5px;
}

.feature i {
    color: var(--primary-red);
    margin-right: 10px;
    font-size: 20px;
}

.about-image img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: auto;
    object-fit: cover;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.contact-section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary-yellow);
    margin: 15px auto;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3,
.contact-form h3 {
    color: var(--primary-black);
    margin-bottom: 30px;
    position: relative;
}

.contact-info h3::after,
.contact-form h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-red);
    margin: 15px 0;
}

.info-item {
    display: flex;
    margin-bottom: 25px;
}

.info-item i {
    color: var(--primary-red);
    font-size: 20px;
    margin-right: 15px;
    margin-top: 5px;
}

.info-item h4 {
    color: var(--primary-black);
    margin-bottom: 5px;
}

.map-container {
    margin-top: 30px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form {
    background-color: var(--white);
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-red);
    outline: none;
    box-shadow: 0 0 0 2px rgba(230, 57, 70, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* FAQ Section */
.faq-section {
    background: #f6f8fa;
    padding: 60px 0;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
}

.faq-section h2 {
    text-align: center;
    color: #234567;
    font-size: 2.2rem;
    margin-bottom: 32px;
    letter-spacing: 1px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 18px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.faq-item.active {
    box-shadow: 0 6px 24px rgba(0, 123, 255, 0.10);
}

.faq-question {
    cursor: pointer;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.15rem;
    color: #234567;
    background: #f0f4fa;
    border: none;
    font-weight: 600;
    transition: background 0.3s, color 0.3s;
}

.faq-item.active .faq-question {
    background: #e3eefd;
    color: #007bff;
}

.faq-question i {
    margin-left: 12px;
    font-size: 1.2em;
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: #007bff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(.4, 0, .2, 1), padding 0.3s;
    padding: 0 28px;
    background: #fff;
    color: #444;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    padding: 16px 28px 20px 28px;
}

.faq-answer p {
    padding: 20px 0;
    margin: 0;
}

/* Footer Styles */
footer {
    background-color: var(--primary-black);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h3 {
    color: var(--primary-red);
    margin-bottom: 20px;
}

.footer-links h3 {
    color: var(--primary-yellow);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-yellow);
}

.footer-contact h3 {
    color: var(--primary-yellow);
    margin-bottom: 20px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--primary-gray);
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .hamburger {
        display: block;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .hours-location .container {
        grid-template-columns: 1fr;
    }
}

.form-success {
    text-align: center;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.form-success i {
    font-size: 50px;
    color: #28a745;
    margin-bottom: 20px;
}

.form-success h3 {
    color: #28a745;
    margin-bottom: 10px;
}

.form-success p {
    margin-bottom: 5px;
}

/* Loading spinner */
.fa-spinner {
    margin-right: 8px;
}

/* Error states */
input:invalid,
textarea:invalid,
select:invalid {
    border-color: #dc3545 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-form {
        padding: 20px;
    }

    .form-success {
        padding: 20px;
    }
}

.social-icons {
    display: flex;
    gap: 16px;
    /* spațiu între iconițe */
    justify-content: center;
    /* centrează pe orizontală */
    align-items: center;
    margin-top: 10px;
}

.social-icons a {
    color: #333;
    /* culoare iconițe */
    font-size: 1.5rem;
    /* mărime iconițe */
    transition: color 0.2s;
}

.social-icons a:hover {
    color: #007bff;
    /* culoare la hover */
}

.top-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-link,
.company-name-link {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.logo-link:hover,
.company-name-link:hover {
    opacity: 0.8;
}

.logo-link:hover .logo-img,
.company-name-link:hover h1 {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.logo-img {
    height: 50px;
    width: auto;
    border-radius: 8px;
}

.contact-area {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    font-size: 1rem;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links li a:hover {
    color: #007bff;
}

.social-icons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.social-icons a {
    color: #333;
    font-size: 1.5rem;
    transition: color 0.2s;
}

.social-icons a:hover {
    color: #007bff;
}

.nav-links li a {
    display: inline-block;
    padding: 10px 22px;
    margin: 0 4px;
    border-radius: 24px;
    background: linear-gradient(90deg, #ffd700 0%, #ff9800 100%);
    color: #222;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}

.nav-links li a:hover,
.nav-links li a:focus {
    background: linear-gradient(90deg, #ff9800 0%, #ffd700 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(255, 152, 0, 0.15);
}

/* FAQ Section Modern Style */
.faq-section {
    background: #f6f8fa;
    padding: 60px 0;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
}

.faq-section h2 {
    text-align: center;
    color: #234567;
    font-size: 2.2rem;
    margin-bottom: 32px;
    letter-spacing: 1px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 18px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.faq-item.active {
    box-shadow: 0 6px 24px rgba(0, 123, 255, 0.10);
}

.faq-question {
    cursor: pointer;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.15rem;
    color: #234567;
    background: #f0f4fa;
    border: none;
    font-weight: 600;
    transition: background 0.3s;
}

.faq-item.active .faq-question {
    background: #e3eefd;
    color: #007bff;
}

.faq-question i {
    margin-left: 12px;
    font-size: 1.2em;
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: #007bff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(.4, 0, .2, 1), padding 0.3s;
    padding: 0 28px;
    background: #fff;
    color: #444;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    padding: 16px 28px 20px 28px;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    padding: 16px 28px 20px 28px;
}

@media (max-width: 600px) {
    .top-bar-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .logo-area {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .logo-img {
        max-width: 140px;
        height: auto;
    }

    .contact-area {
        align-items: flex-start;
        font-size: 1rem;
        gap: 2px;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 40px 0;
        background-position: center top;
        background-size: cover;
    }

    .hero h2 {
        font-size: 1.3rem;
    }

    .hero p {
        font-size: 1rem;
    }
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 2rem;
    color: #234567;
    margin-left: auto;
}

@media (max-width: 800px) {
    .nav-links {
        position: absolute;
        top: 60px;
        left: 0;
        width: 70vw;
        background: #f6f8fa;
        flex-direction: column;
        align-items: flex-end;
        gap: 0;
        padding: 0;
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
        display: none;
        z-index: 100;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #e3eefd;
    }

    .nav-links li a {
        padding: 18px 24px;
        width: 100%;
        display: block;
        font-size: 1.1rem;
    }

    .hamburger {
        display: block;
    }

    .nav-flex {
        position: relative;
    }

    .social-icons {
        display: none;
    }
}

.estimate-bar {
    width: 100%;
    background: var(--primary-black);
    padding: 12px 8px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.estimate-btn {
    color: #fff;
    background: #ff9800;
    padding: 10px 28px;
    border-radius: 24px;
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: background 0.2s, color 0.2s;
    display: inline-block;
    white-space: nowrap;
}

.estimate-btn:hover {
    background: #ffd700;
    color: #234567;
}

/* Shipping form button variant can reuse .estimate-btn */
.estimate-btn.shipping-form-btn {
    background: #234567;
}

.estimate-btn.shipping-form-btn:hover {
    background: #3b82f6;
    color: #fff;
}

/* Call Now button - hidden on desktop, shown on mobile */
.call-now-btn {
    display: none;
    background: #28a745;
}

.call-now-btn:hover {
    background: #218838;
    color: #fff;
}

/* Stack the two buttons neatly on small screens */
@media (max-width: 540px) {
    .estimate-bar {
        padding: 10px 12px;
        gap: 12px;
        flex-direction: column;
        align-items: center;
    }

    .estimate-btn {
        display: block;
        width: 100%;
        max-width: 520px;
        text-align: center;
    }

    /* Show Call Now button on mobile */
    .call-now-btn {
        display: block;
    }
}

.nav-flex {
    display: flex;
    justify-content: flex-end;
    /* aliniere la dreapta */
    align-items: center;
    gap: 24px;
    position: relative;
}

.nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (max-width: 800px) {
    .nav-links {
        position: absolute;
        top: 60px;
        right: 0;
        width: 70vw;
        background: #f6f8fa;
        flex-direction: column;
        align-items: flex-end;
        display: none;
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
        z-index: 100;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
        margin-left: 16px;
    }
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 2rem;
    color: #234567;
}

.toggle-dark-btn {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 1100;
    background: #fff;
    color: #234567;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
    cursor: pointer;
    font-size: 1.4rem;
    transition: background 0.2s, color 0.2s;
}

/* 3) CSS: put in your main stylesheet */
.back-to-top {
    position: fixed;
    right: clamp(12px, 2.5vw, 24px);
    bottom: clamp(12px, 2.5vw, 24px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    color: #0f172a;
    /* slate-900 */
    background: color-mix(in srgb, white 80%, transparent);
    backdrop-filter: blur(6px);
    border: 1px solid color-mix(in srgb, #0f172a 10%, transparent);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
    text-decoration: none;
    transition: transform .2s ease, opacity .2s ease, box-shadow .2s ease;
    opacity: 0;
    /* animated in via [data-visible] */
    transform: translateY(8px);
    z-index: 9999;
}

.back-to-top:hover {
    box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
    transform: translateY(4px);
}

.back-to-top:focus-visible {
    outline: 2px solid #2563eb;
    /* blue-600 */
    outline-offset: 3px;
}

.back-to-top[data-visible="true"] {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-color-scheme: dark) {
    .back-to-top {
        color: #e5e7eb;
        /* gray-200 */
        background: color-mix(in srgb, #0b1020 50%, transparent);
        border-color: color-mix(in srgb, #e5e7eb 12%, transparent);
        box-shadow: 0 8px 28px rgba(0, 0, 0, .45);
    }
}

/* Shipping Form Section */
.shipping-form-section {
    padding: 80px 0;
    background: var(--white);
}

.shipping-form-section h2 {
    text-align: center;
    margin-bottom: 10px;
}

.shipping-intro {
    text-align: center;
    color: var(--primary-gray);
    margin-bottom: 30px;
}

.shipping-form {
    background: var(--light-gray);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 24px;
}

.shipping-form .form-block {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

.shipping-form .form-block h3 {
    margin-bottom: 12px;
}

.shipping-form .grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.shipping-form .grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.shipping-form .radio,
.shipping-form .checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.shipping-form .inline-input {
    width: 120px;
    margin-left: 8px;
}

.shipping-terms {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    color: #92400e;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.shipping-form .actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn.outline {
    background: transparent;
    color: var(--primary-black);
    border: 2px solid var(--primary-black);
}

.signature-row .form-group input[type="date"] {
    min-height: 44px;
}

@media (max-width: 768px) {
    .shipping-form {
        padding: 16px;
    }

    .shipping-form .actions {
        justify-content: stretch;
    }

    .shipping-form .actions .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .back-to-top {
        transition: none;
    }
}

/* Slideshow Styles */
.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.slide {
    display: none;
}

.slide img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    vertical-align: middle;
}

/* Butoane next & previous */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.3s;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Punctele de navigare */
.dots-container {
    text-align: center;
    padding: 10px 0;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 4px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s;
}

.active-dot,
.dot:hover {
    background-color: var(--primary-red);
}

/* Fade animation */
.fade {
    animation-name: fade;
    animation-duration: 1s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

.contact-area span,
.contact-area a {
    color: #FFD700 !important;
    /* galben */
    text-decoration: none !important;
}

.contact-area a:hover {
    text-decoration: underline !important;
}

/* Social icons bar fixed bottom on mobile */
.mobile-social-footer {
    display: none;
    /* ascuns implicit */
}

@media (max-width: 768px) {
    .mobile-social-footer {
        display: none !important;
    }

    .mobile-social-footer a {
        color: #fff;
        font-size: 20px;
        transition: color 0.3s;
    }

    .mobile-social-footer a:hover {
        color: #facc15;
        /* galben la hover */
    }

    body {
        padding-bottom: 0;
    }
}

/* Ensure only one social UI on phones: force show sidebar under 768px */
@media (max-width: 768px) {
    .social-sidebar {
        display: block !important;
    }
}

/* Slide hide/show state for mobile footer */
.mobile-social-footer.hidden {
    transform: translateY(110%);
    opacity: 0.8;
}

/* Fixed Social Media Sidebar - Bottom Bar */
.social-sidebar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    -webkit-transform: none !important;
    transform: none !important;
    z-index: 9999 !important;
    background: rgba(44, 62, 80, 0.95) !important;
    border-radius: 0 !important;
    padding: 12px 20px !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3) !important;
    border: none !important;
    -webkit-transition: all 0.3s ease !important;
    transition: all 0.3s ease !important;
    /* Force visibility in Safari */
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    height: auto !important;
    /* Remove backdrop-filter for Safari compatibility */
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

.social-sidebar:hover {
    background: rgba(44, 62, 80, 1);
    box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.4);
}

/* Slide-out state for sidebar */
.social-sidebar.hidden {
    transform: translateY(100%) !important;
    -webkit-transform: translateY(100%) !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.social-sidebar-content {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    gap: 20px;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
}

.social-link {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: -webkit-linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    -webkit-transition: -webkit-transform 0.6s ease;
    transition: transform 0.6s ease;
}

.social-link:hover::before {
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
}

.social-link i {
    font-size: 18px;
    color: white;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    z-index: 1;
}

.social-link:hover {
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.2);
}

.social-link.facebook:hover {
    background: -webkit-linear-gradient(135deg, #1877f2, #42a5f5);
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.social-link.facebook:hover i {
    color: white;
}

.social-link.instagram:hover {
    background: -webkit-linear-gradient(135deg, #e4405f, #fd1d1d, #fcb045);
    background: linear-gradient(135deg, #e4405f, #fd1d1d, #fcb045);
}

.social-link.instagram:hover i {
    color: white;
}

.social-link.youtube:hover {
    background: -webkit-linear-gradient(135deg, #ff0000, #ff4444);
    background: linear-gradient(135deg, #ff0000, #ff4444);
}

.social-link.youtube:hover i {
    color: white;
}

.social-link.tiktok:hover {
    background: -webkit-linear-gradient(135deg, #000000, #333333);
    background: linear-gradient(135deg, #000000, #333333);
}

.social-link.tiktok:hover i {
    color: white;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .social-sidebar {
        padding: 10px 15px;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

    .social-link i {
        font-size: 16px;
    }

    .social-sidebar-content {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .social-sidebar {
        padding: 8px 10px;
    }

    .social-link {
        width: 35px;
        height: 35px;
    }

    .social-link i {
        font-size: 14px;
    }

    .social-sidebar-content {
        gap: 12px;
    }
}

/* Hide on very small screens to avoid conflicts with mobile menu */
@media (max-width: 320px) {
    .social-sidebar {
        display: none;
    }
}

/* Safari-specific fixes */
@supports (-webkit-backdrop-filter: blur(10px)) {
    .social-sidebar {
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }
}

/* Fallback for browsers that don't support backdrop-filter */
@supports not (backdrop-filter: blur(10px)) {
    .social-sidebar {
        background-color: rgba(255, 255, 255, 0.98) !important;
    }
}

/* Force Safari to render the sidebar */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .social-sidebar {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        -webkit-transform: none !important;
        transform: none !important;
        z-index: 9999 !important;
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        background: rgba(44, 62, 80, 0.95) !important;
        border-radius: 0 !important;
        padding: 12px 20px !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3) !important;
        border: none !important;
        width: 100% !important;
        height: auto !important;
        will-change: transform;
    }
}

/* Additional Safari-specific override */
@supports (-webkit-appearance: none) {
    .social-sidebar {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        -webkit-transform: none !important;
        transform: none !important;
        z-index: 9999 !important;
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        background: rgba(44, 62, 80, 0.95) !important;
        border-radius: 0 !important;
        padding: 12px 20px !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3) !important;
        border: none !important;
    }
}

/* Safari sidebar class for JavaScript targeting */
.safari-sidebar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    -webkit-transform: none !important;
    transform: none !important;
    z-index: 9999 !important;
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: rgba(44, 62, 80, 0.95) !important;
    border-radius: 0 !important;
    padding: 12px 20px !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3) !important;
    border: none !important;
    width: 100% !important;
    height: auto !important;
}

a.link {
    text-decoration: none;
}

/* Phone and Email Link Styles */
.phone-link,
.email-link {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.phone-link:hover,
.email-link:hover {
    color: #ff6b35;
    border-bottom-color: #ff6b35;
    text-decoration: none;
}

.phone-link:focus,
.email-link:focus {
    outline: 2px solid #ff6b35;
    outline-offset: 2px;
    border-radius: 3px;
}

/* Ensure phone links work on all devices */
.phone-link {
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(255, 107, 53, 0.3);
}

/* Add padding to body to account for bottom social bar */
body {
    padding-bottom: 70px;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 60px;
    }
}

@media (max-width: 480px) {
    body {
        padding-bottom: 55px;
    }
}