/*
Theme Name: kpd-theme
Theme URI: 
Author: 4dventurer
Author URI: 
Description: Custom WordPress theme for CNC-milling services
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kpd-theme
*/

/* -------------------------------------------------
   CSS VARIABLES - Edit these to change color scheme
   ------------------------------------------------- */
:root {
    /* Main color scheme */
    --color-orange: #E15501;
    --color-orange-hover: #C04A00;
    --color-highlighted: #E46920;
    --color-white: #FFFFFF;
    --color-light-gray: #E0E0E0;
    --color-dark-gray: #3E3E3E;
    --color-black: #000000;
    --color-beige: #F5F1EE;
    --color-pumice: #A5A6A5;
    
    /* Layout settings */
    --border-radius: 20px;
    --section-spacing: 40px;
    --max-width-desktop: 1220px;
    --max-width-tablet: 768px;
    --max-width-mobile: 360px;
    
    /* Typography */
    --font-family-base: 'Roboto', sans-serif;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;
}

/* -------------------------------------------------
   RESET & BASE STYLES
   ------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    padding-top: 90px;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-regular);
    line-height: 1.5;
    color: var(--color-dark-gray);
    background-color: var(--color-beige);
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
}

img {
    max-width: 100%;
    height: auto;
}

/* -------------------------------------------------
   HEADER STYLES
   ------------------------------------------------- */
.site-header-wrapper {
    background-color: var(--color-highlighted);
    width: calc(100% - 40px);
    max-width: var(--max-width-desktop);
    margin: 0 auto;
    border-radius: var(--border-radius);
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

/* Add class for scrolled state */
.site-header-wrapper.scrolled {
    box-shadow: 8px 8px 30px 0px rgba(0, 0, 0, 0.25);
}

.site-header {
    max-width: var(--max-width-desktop);
    margin: 0 auto;
    padding: 5px 30px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.site-logo img {
    height: 60px;
    width: auto;
}

/* Header phone styles */
.header-phone {
    margin-right: auto;
    margin-left: 30px;
}

.header-phone a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.header-phone a:hover {
    text-decoration: underline;
}

/* Navigation styles */
.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-navigation a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 14px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.main-navigation a:hover {
    text-decoration: underline;
}

/* -------------------------------------------------
   HERO SECTION
   ------------------------------------------------- */
.hero-section {
    display: flex;
    padding: 0;
    max-width: var(--max-width-desktop);
    margin: 20px auto var(--section-spacing);
    background-color: var(--color-light-gray);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 8px 8px 30px 0px rgba(0, 0, 0, 0.25);
}

.hero-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.hero-content h1 {
    font-size: 36px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    line-height: 1.2;
}

.hero-content h2 {
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    line-height: 1.4;
    color: var(--color-dark-gray);
}

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

.hero-features li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.4;
}

.hero-features li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-orange);
    font-size: 18px;
}

.hero-features li:last-child {
    margin-bottom: 0;
}

.hero-image {
    flex: 1;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.buttons-container {
    display: flex;
    gap: 10px;
    padding-top: 10px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: var(--font-weight-bold);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-orange);
    color: var(--color-white);
    border: 2px solid var(--color-orange);
}

.btn-outline {
    background-color: var(--color-white);
    color: var(--color-black);
    border: 2px solid var(--color-black);
}

.btn-primary:hover {
    background-color: var(--color-orange-hover);
    border: 2px solid var(--color-orange-hover);
}
.btn-outline:hover {
    background-color: var(--color-pumice);
}

/* -------------------------------------------------
   SECTION HEADERS
   ------------------------------------------------- */
.section-header {
    background: var(--color-highlighted);
    padding: 20px 30px;
    border-radius: var(--border-radius);
    margin-bottom: var(--section-spacing);
    box-shadow: 8px 8px 30px 0px rgba(0, 0, 0, 0.25);
}

.section-header h2 {
    color: var(--color-white);
    margin: 0;
    font-size: 24px;
    text-transform: uppercase;
}

/* -------------------------------------------------
   SERVICES SECTION
   ------------------------------------------------- */
.services-section {
    max-width: var(--max-width-desktop);
    margin: 0 auto var(--section-spacing);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--color-light-gray);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 8px 8px 30px 0px rgba(0, 0, 0, 0.25);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.service-card h4 {
    font-size: 18 px;
    margin-bottom: 10px;
}

.service-card p {
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--color-dark-gray);
}

.service-features {
    list-style: none;
}

.service-features li {
    position: relative;

    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: var(--font-weight-bold);
}

.service-features li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-orange);
}

/* -------------------------------------------------
   PRICE LIST SECTION
   ------------------------------------------------- */
.price-list-section {
    max-width: var(--max-width-desktop);
    margin: 0 auto var(--section-spacing);
}

.price-accordion {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 8px 8px 30px 0px rgba(0, 0, 0, 0.25);
}

.price-accordion-header {
    background: var(--color-light-gray);
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: var(--font-weight-bold);
    border-bottom: 2px solid var(--color-beige);
}

.price-accordion-header:hover {
    background-color: var(--color-pumice);
}

.price-accordion-header.active {
    border-bottom: 1px solid #eee;
}

.price-accordion-item:last-child .price-accordion-header {
    border-bottom: none;
}

.accordion-icon {
    width: 20px;
    height: 20px;
    position: relative;
}

.accordion-icon::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border-right: 3px solid var(--color-dark-gray);
    border-bottom: 3px solid var(--color-dark-gray);
    transform: rotate(45deg);
    top: 2px;
    transition: transform 0.3s ease;
}

.price-accordion-header.active .accordion-icon::before {
    transform: rotate(-135deg);
    top: 8px;
}

/* Price accordion content */
.price-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    background-color: #fff;
}

.price-accordion-item.active .price-accordion-content {
    max-height: 500px; /* Large enough to accommodate content */
}

/* Price table styles */
.price-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0;
    border-top: 2px solid var(--color-beige);
}

.price-table thead {
    background-color: var(--color-light-gray);
}

.price-table th {
    padding: 15px;
    text-align: left;
    font-weight: var(--font-weight-medium);
    border-bottom: 1px solid #ddd;
    color: var(--color-black);
}

.price-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.price-table tr:last-child td {
    border-bottom: none;
}

.price-table th:first-child,
.price-table td:first-child {
    width: 40%;
}

.price-table th:not(:first-child),
.price-table td:not(:first-child) {
    width: 30%;
    text-align: center;
}

/* -------------------------------------------------
   ABOUT COMPANY SECTION - Edit for about section styling
   ------------------------------------------------- */
.about-section {
    max-width: var(--max-width-desktop);
    margin: 0 auto var(--section-spacing);
}

.about-content {
    display: flex;
    gap: 40px;
}

.about-text {
    flex: 1;
    background-color: var(--color-light-gray);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 8px 8px 30px 0px rgba(0, 0, 0, 0.25);
    height: 350px;
    overflow-y: auto;
}

.about-text h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    font-size: 16px;
}

.about-slider {
    flex: 1;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 8px 8px 30px 0px rgba(0, 0, 0, 0.25);
    height: 350px;
}

/* Carousel container */
.carousel-container {
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
    position: relative;
}

/* Carousel slides */
.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    display: none;
}

.carousel-slide.active {
    opacity: 1;
    display: block;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
}

/* Carousel navigation buttons */
.slider-navigation {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-button {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    color: var(--color-white);
    font-weight: var(--font-weight-bold);
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background-color 0.3s ease;
    background-color: var(--color-orange);
}

.slider-button:hover {
    background-color: var(--color-orange-hover);
}

/* Carousel indicators */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicator.active {
    background-color: var(--color-white);
}

/* -------------------------------------------------
   PORTFOLIO SECTION - Edit for portfolio styling
   ------------------------------------------------- */
.portfolio-section {
    max-width: var(--max-width-desktop);
    margin: 0 auto var(--section-spacing);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background-color: var(--color-dark-gray);
    color: var(--color-white);
}

.portfolio-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.portfolio-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--color-white);
}

.portfolio-item-overlay h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.portfolio-item-overlay p {
    font-size: 14px;
    opacity: 0.9;
}

.portfolio-item-content {
    padding: 20px 20px 20px 30px;
    color: var(--color-white);
    background-color: var(--color-dark-gray);
}

.portfolio-item-content h3 {
    font-size: 22px;
    margin-bottom: 8px;
    line-height: 1.2;
}

.portfolio-item-content p {
    font-size: 16px;
    opacity: 0.9;
}

/* -------------------------------------------------
   CONTACTS SECTION - Edit for contacts styling
   ------------------------------------------------- */
.contact-section {
    max-width: var(--max-width-desktop);
    margin: 0 auto var(--section-spacing);
}

.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 30px;
}

.contact-info {
    background-color: var(--color-light-gray);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 8px 8px 30px 0px rgba(0, 0, 0, 0.25);
}

.contact-info h4 {
    font-size: 18px;
    margin-top: 30px;
    margin-bottom: 10px;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 16px;
}

.contact-item p a {
    color: var(--color-dark-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item p a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 8px 8px 30px 0px rgba(0, 0, 0, 0.25);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

@media (min-width: 992px) {
    .contact-container {
        flex-direction: row;
    }
    
    .contact-info {
        flex: 1;
    }
    
    .map-container {
        flex: 2;
    }
}

/* -------------------------------------------------
   FOOTER STYLES
   ------------------------------------------------- */
.site-footer-wrapper {
    background-color: var(--color-highlighted);
    width: calc(100% - 40px);
    max-width: var(--max-width-desktop);
    margin: 0 auto;
    border-radius: var(--border-radius);
    margin-top: var(--section-spacing);
    box-shadow: 8px 8px 30px 0px rgba(0, 0, 0, 0.25);
}

.site-footer {
    max-width: var(--max-width-desktop);
    margin: 0 auto;
    padding: 20px 30px;
    color: var(--color-white);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.footer-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-nav {
    width: 100%;
}

.footer-nav ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    list-style: none;
    gap: 15px 30px;
}

.footer-nav a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 12px;
    display: block;
    text-align: left;
    white-space: nowrap;
}

.footer-nav a:hover {
    text-decoration: underline;
}

.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-links {
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-legal .privacy-policy-link,
.footer-legal .offer-disclaimer-link {
    font-size: 12px;
    color: var(--color-white);
    text-decoration: none;
}

.footer-legal .privacy-policy-link:hover {
    text-decoration: underline;
}

.footer-legal .offer-disclaimer-link {
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-legal .offer-disclaimer-link:hover {
    text-decoration: underline;
    color: var(--color-light-gray);
}

.offer-link {
    text-decoration: underline;
    cursor: pointer;
    transition: all 0.3s ease;
}

.offer-link:hover {
    color: var(--color-light-gray);
    text-decoration: underline;
}

.copyright {
    font-size: 12px;
    text-align: left;
    white-space: nowrap;
}

@media (max-width: 1100px) {
    .footer-nav ul {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    body {
        padding-top: 70px;
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 0;
        width: 100%;
        overflow-x: hidden;
    }

    .hero-section {
        flex-direction: column;
        margin-top: 40px;
        padding: 0;
        width: calc(100% - 30px);
        margin-left: 15px;
        margin-right: 15px;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-image {
        order: 2;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .site-footer {
        flex-direction: column;
        gap: 20px;
        text-align: left;
        align-items: flex-start;
    }
    
    .footer-nav ul {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    /* Header phone styles for mobile */
    .header-phone {
        order: -1;
        margin-left: 0;
        margin-right: 0;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .header-phone a {
        font-size: 14px;
    }
    
    /* Burger menu styles */
    .burger-menu-toggle {
        display: block !important;
        position: fixed !important;
        right: 15px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 9999 !important;
        background-color: transparent;
        border: none;
        cursor: pointer;
        padding: 10px;
        width: 45px;
        height: 45px;
    }
    
    .main-navigation {
        position: fixed;
        top: -100vh; /* Start off-screen from the top */
        left: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--color-highlighted);
        z-index: 100;
        transition: transform 0.4s ease;
        padding: 100px 30px 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
        transform: translateY(0);
    }
    
    body.menu-open .main-navigation {
        transform: translateY(100vh); /* Move down to visible area */
    }
    
    .main-navigation ul {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        width: 100%;
    }
    
    .main-navigation a {
        display: block;
        font-size: 24px;
        padding: 10px 0;
        text-align: center;
        color: var(--color-white);
    }

    .site-logo {
        z-index: 101;
    }
    
    /* Add overlay when menu is open */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 99;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    body.menu-open .menu-overlay {
        display: block;
        opacity: 1;
    }
    
    body.menu-open {
        overflow: hidden;
    }

    /* Close button styles */
    .menu-close {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 30px;
        height: 30px;
        cursor: pointer;
    }

    .site-header-wrapper {
        border-radius: 0;
        width: 100%;
        max-width: 100%;
        top: 0;
    }

    .site-footer-wrapper {
        border-radius: 0;
        width: 100%;
        max-width: 100%;
    }

    .services-section,
    .price-list-section,
    .about-section,
    .portfolio-section,
    .contact-section {
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
    }

    .about-content {
        flex-direction: column;
    }
    
    .about-text {
        order: 1;
    }
    
    .about-slider {
        order: 2;
        height: 300px;
    }

    .contact-container {
        flex-direction: column;
    }
    
    .contact-info {
        width: 100%;
    }
    
    .map-container {
        width: 100%;
    }

    .footer-content {
        width: 100%;
    }

    .footer-legal {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .hero-content {
        padding: 30px;
    }

    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content h2 {
        font-size: 18px;
    }
    
    .section-header {
        padding: 15px 20px;
    }
    
    .service-card {
        padding: 20px;
    }

    .main-navigation a {
        font-size: 20px;
    }

    .site-header {
        padding: 10px 20px;
    }

    .site-logo img {
        height: 35px;
    }
    
    /* Adjust phone position and size for smaller screens */
    .header-phone {
        font-size: 12px;
    }

    .hero-features li {
        font-size: 15px;
        margin-bottom: 8px;
    }
}

@media (max-width: 576px) {
    body {
        padding: 40px 5px 5px 5px;
    }

    .site-header {
        padding: 10px 20px;
    }
    
    .hero-content {
        padding: 20px;
    }
    
    .hero-content h1 {
        font-size: 24px;
    }
    
    .hero-content h2 {
        font-size: 16px;
    }
    
    .buttons-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .main-navigation a {
        font-size: 18px;
    }

    .site-logo img {
        height: 30px;
    }
    
    /* Further adjust phone for very small screens */
    .header-phone a {
        font-size: 12px;
    }

    .hero-features li {
        font-size: 14px;
        margin-bottom: 6px;
    }
}

/* -------------------------------------------------
   CONTACT FORM 7 STYLES
   ------------------------------------------------- */
.wpcf7-form h2 {
    font-size: 24px;
    font-weight: var(--font-weight-bold);
    margin-bottom: 20px;
}

.wpcf7-form p {
    margin-bottom: 15px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    font-size: 16px;
}

.wpcf7-form textarea {
    height: 100px;
}

.wpcf7-form .wpcf7-acceptance {
    margin-top: 10px;
}

.wpcf7-form .wpcf7-acceptance .wpcf7-list-item {
    margin: 0;
}

.wpcf7-form .wpcf7-acceptance .wpcf7-list-item-label::after {
    content: " ";
    white-space: pre;
}

.wpcf7-form .privacy-policy-link {
    color: var(--color-orange);
    text-decoration: underline;
    transition: all 0.3s ease;
}

.wpcf7-form .privacy-policy-link:hover {
    color: var(--color-orange-hover);
}

.wpcf7-form .wpcf7-submit {
    background-color: var(--color-orange);
    color: var(--color-white);
    padding: 10px 20px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    transition: all 0.3s ease;
}

.wpcf7-form .wpcf7-submit:hover {
    background-color: var(--color-orange-hover);
}

/* Form feedback messages */
.wpcf7-response-output {
    margin: 20px 0;
    padding: 12px;
    border-radius: var(--border-radius);
    font-size: 14px;
}

.wpcf7 form.invalid .wpcf7-response-output {
    border-color: #ffb900;
    background-color: rgba(255, 185, 0, 0.1);
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #46b450;
    background-color: rgba(70, 180, 80, 0.1);
}

/* -------------------------------------------------
   MODAL STYLES - Edit for modal customization
   ------------------------------------------------- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: none;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--color-white);
    padding: 30px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.close-button:hover {
    color: var(--color-black);
}

.modal h2 {
    margin-bottom: 20px;
    font-size: 24px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-family-base);
    font-size: 14px;
}

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

body.modal-open {
    overflow: hidden;
}

/* -------------------------------------------------
   BURGER MENU - Base Styles
   ------------------------------------------------- */
.burger-menu-toggle {
    display: none; /* Hidden by default */
}

@media (max-width: 992px) {
    /* Make burger menu visible on mobile */
    .burger-menu-toggle {
        display: block !important;
        position: fixed !important;
        right: 15px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 9999 !important;
        background-color: transparent;
        border: none;
        cursor: pointer;
        padding: 10px;
        width: 45px;
        height: 45px;
    }
    
    /* Burger bars */
    .burger-bar {
        display: block !important;
        width: 25px;
        height: 3px;
        margin: 5px 0;
        background-color: var(--color-white);
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    /* Animation for open state */
    .burger-menu-open .burger-bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .burger-menu-open .burger-bar:nth-child(2) {
        opacity: 0;
    }

    .burger-menu-open .burger-bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.btn-whatsapp, .btn-telegram {
    display: inline-flex;
    align-items: center;
    padding: 5px 7px;
    border-radius: 30px;
    background-color: var(--color-white);
    color: var(--color-dark-gray);
    text-decoration: none;
    font-weight: var(--font-weight-bold);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    width: 150px;
    align-self: flex-start;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #25D366;
    color: var(--color-white);
}

.btn-telegram:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #0088cc;
    color: var(--color-white);
}

.btn-whatsapp i, .btn-telegram i {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover i {
    background-color: var(--color-white);
    color: #25D366;
}

.btn-telegram:hover i {
    background-color: var(--color-white);
    color: #0088cc;
}

/* -------------------------------------------------
   PRIVACY POLICY OVERLAY STYLES
   ------------------------------------------------- */
.privacy-policy-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: none;
}

.privacy-policy-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--color-white);
    padding: 30px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.close-policy {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.close-policy:hover {
    color: var(--color-black);
}

.privacy-policy-text {
    margin-top: 20px;
}

.privacy-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.privacy-checkbox input[type="checkbox"] {
    margin-top: 3px;
    width: auto;
    min-width: 16px;
    height: 16px;
}

.privacy-checkbox label {
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
    flex: 1;
}

.privacy-policy-link {
    text-decoration: underline;
    cursor: pointer;
}

/* Keep phone visible in menu open state */
body.menu-open .header-phone {
    z-index: 101;
}

.site-logo {
    z-index: 101;
}

/* -------------------------------------------------
   RESPONSIVE STYLES - MEDIUM SCREENS
   ------------------------------------------------- */
@media (max-width: 1099px) and (min-width: 993px) {
    /* Fix for navigation text wrapping */
    .main-navigation ul {
        gap: 15px; /* Reduce the gap between navigation items */
    }
    
    .main-navigation a {
        font-size: 12px; /* Slightly reduce font size */
        white-space: nowrap; /* Prevent text wrapping */
    }
    
    /* Adjust header padding */
    .site-header {
        padding: 5px 15px;
    }
}