/* Customer Landing Page Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #28a745 0%, #ff8c00 100%);
    color: white;
    padding: 1.25rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 50px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}



.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav a:hover {
    opacity: 0.8;
}

/* Back to Main Site Button */
.header-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.back-to-main-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    min-width: fit-content;
}

.back-to-main-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: white;
    text-decoration: none;
}

.back-to-main-btn span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.back-to-main-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Hero Section */
.hero {
    padding: 40px 0 80px 0;
    background: linear-gradient(135deg, #f8fff9 0%, #fff3e0 100%);
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2c3e50;
    line-height: 1.2;
}

.hero-content > p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

/* Action Buttons */
.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.button-card {
    background: white;
    padding: 30px 25px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.button-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
    border-color: #28a745;
}

.button-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.button-card:hover::before {
    left: 100%;
}

.button-icon {
    color: #28a745;
    margin-bottom: 15px;
}

.button-icon svg {
    width: 40px;
    height: 40px;
}

.button-card h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #2c3e50;
}

.button-card p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.features li {
    padding: 5px 0;
    color: #555;
    font-size: 14px;
}

.tool-btn, .modal-btn {
    max-width: 200px; /* Set a maximum width */
    width: auto; /* Allow width to adjust based on content */
    padding: 10px 15px; /* Adjust padding for better appearance */
    margin: 5px; /* Maintain spacing between buttons */
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    margin: 5px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.5);
    background: linear-gradient(135deg, #20c997 0%, #28a745 100%);
}

.btn-secondary {
    background: linear-gradient(135deg, #ff8c00 0%, #ff6b35 100%);
    color: white;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.5);
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c00 100%);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: white;
}

.services h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #2c3e50;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-item {
    text-align: center;
    padding: 30px 20px;
}

.service-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.service-item p {
    color: #666;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 80px 0;
    background: #f8f9fa;
}

.about h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #2c3e50;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.about-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.about-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.about-item p {
    color: #666;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: white;
    text-align: center;
}

.contact h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.contact p {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-item {
    font-size: 16px;
    color: #555;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
}

.close:hover {
    color: #333;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #28a745;
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 30px;
}

/* Confirmation Page Styles */
.confirmation {
    padding: 80px 0;
    background: #f8f9fa;
    min-height: 70vh;
}

.confirmation-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.success-card,
.error-card {
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.success-icon,
.error-icon {
    color: #28a745;
    margin-bottom: 20px;
}

.error-icon {
    color: #dc3545;
}

.success-card h2,
.error-card h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.success-message,
.error-message {
    font-size: 16px;
    margin-bottom: 30px;
    color: #666;
}

.next-steps {
    text-align: left;
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.next-steps h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.next-steps ol {
    color: #666;
    line-height: 1.8;
}

.contact-info {
    margin: 30px 0;
    padding: 20px;
    background: #e7f3ff;
    border-radius: 10px;
}

.contact-info h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.action-buttons {
    margin-top: 30px;
}

/* Responsive Design */
/* Mobile First - Base styles for all devices */

/* Tablet and small desktop (768px and down) */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 0.75rem;
        padding: 0.5rem 0;
    }

    .header-nav {
        gap: 8px;
        width: 100%;
        justify-content: center;
    }

    .back-to-main-btn {
        font-size: 13px;
        padding: 10px 16px;
        flex: 1;
        max-width: 160px;
        justify-content: center;
    }

    .logo-image {
        height: 40px;
    }
}

/* Small devices (phones, 480px and down) */
@media (max-width: 480px) {
    .header {
        padding: 0.75rem 0;
        min-height: 60px;
    }

    .header-content {
        flex-direction: row;
        gap: 0.5rem;
        padding: 0.25rem 0;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
    }

    .logo {
        flex-shrink: 0;
    }

    .logo-image {
        height: 32px;
        max-width: 120px;
    }

    .header-nav {
        gap: 4px;
        flex-shrink: 1;
        justify-content: flex-end;
        flex-wrap: nowrap;
    }

    .back-to-main-btn {
        font-size: 10px;
        padding: 6px 8px;
        border-radius: 12px;
        min-width: 70px;
        max-width: 85px;
        justify-content: center;
        white-space: nowrap;
    }

    .back-to-main-btn span {
        font-size: 10px;
        gap: 2px;
    }
}

/* Extra small devices (320px and down) */
@media (max-width: 320px) {
    .container {
        padding: 0 8px;
    }

    .header {
        min-height: 55px;
        padding: 0.5rem 0;
    }

    .header-content {
        gap: 0.25rem;
    }

    .logo-image {
        height: 28px;
        max-width: 100px;
    }

    .header-nav {
        gap: 3px;
    }

    .back-to-main-btn {
        font-size: 9px;
        padding: 5px 6px;
        min-width: 60px;
        max-width: 75px;
        border-radius: 10px;
    }

    .back-to-main-btn span {
        font-size: 9px;
        gap: 1px;
    }
}

/* Calendar Booking Styles */
.calendar-booking {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 10px;
}

.calendar-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.calendar-nav-btn {
    background: #3498db;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-nav-btn:hover {
    background: #2980b9;
    transform: scale(1.05);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    margin-bottom: 10px;
}

.weekday {
    text-align: center;
    font-weight: 600;
    color: #7f8c8d;
    padding: 10px 5px;
    font-size: 0.9rem;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #ecf0f1;
    border-radius: 8px;
    overflow: hidden;
}

.calendar-day {
    background: white;
    padding: 12px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    position: relative;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.calendar-day:hover:not(.disabled) {
    background: #e8f4fd;
    transform: scale(1.05);
}

.calendar-day.other-month {
    color: #bdc3c7;
    background: #f8f9fa;
}

.calendar-day.today {
    background: #fff3cd;
    border: 2px solid #ffc107;
    font-weight: 700;
}

.calendar-day.selected {
    background: #3498db;
    color: white;
    font-weight: 700;
}

/* Range selection styles */
.calendar-day.single-selected {
    background: #3498db;
    color: white;
    font-weight: 700;
    border-radius: 8px;
}

.calendar-day.range-start {
    background: #2980b9;
    color: white;
    font-weight: 700;
    border-radius: 8px 0 0 8px;
    position: relative;
}

.calendar-day.range-end {
    background: #2980b9;
    color: white;
    font-weight: 700;
    border-radius: 0 8px 8px 0;
    position: relative;
}

.calendar-day.range-middle {
    background: #85c1e9;
    color: #2c3e50;
    font-weight: 600;
    border-radius: 0;
}

/* Range start and end indicators */
.calendar-day.range-start::after {
    content: "START";
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 7px;
    font-weight: 600;
    color: white;
    background: rgba(0, 0, 0, 0.3);
    padding: 1px 2px;
    border-radius: 2px;
    white-space: nowrap;
    line-height: 1;
}

.calendar-day.range-end::after {
    content: "END";
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 7px;
    font-weight: 600;
    color: white;
    background: rgba(0, 0, 0, 0.3);
    padding: 1px 2px;
    border-radius: 2px;
    white-space: nowrap;
    line-height: 1;
}



.calendar-day.disabled {
    background: #ecf0f1;
    color: #bdc3c7;
    cursor: not-allowed;
}



.calendar-selection-info {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.calendar-selection-info p {
    margin: 0 0 10px 0;
    font-weight: 600;
    color: #2c3e50;
}

.selected-dates-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.selected-date-item {
    background: #3498db;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Range selection info styles */
.range-start-item {
    background: #2980b9;
}

.range-end-item {
    background: #2980b9;
}

.range-connector {
    color: #7f8c8d;
    font-weight: 600;
    margin: 0 8px;
    font-size: 0.9rem;
}

/* Contact Us Link Style */
u a[href="https://www.borgesmedia.com/contact/"] {
    color: #000000 !important;
    text-decoration: underline !important;
    text-decoration-color: #000000 !important;
}

u a[href="https://www.borgesmedia.com/contact/"]:hover {
    color: #333333 !important;
    text-decoration: underline !important;
    text-decoration-color: #333333 !important;
}

/* Welcome Section Styles */
.welcome-section {
    background: #f8f9fa;
    padding: 50px 0 30px 0;
    margin: 0;
}

.welcome-section .container {
    max-width: 900px;
}

.welcome-content {
    text-align: center;
}

.welcome-content h2 {
    margin-bottom: 25px;
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.welcome-content .section-description {
    color: #555;
    margin-bottom: 0;
    font-size: 1.15rem;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

/* Legacy calendar styles - no longer needed since calendar moved to checkout modal */

/* Responsive Design for Welcome Section and Hero */
@media (max-width: 768px) {
    .welcome-section {
        padding: 40px 0 25px 0;
    }

    .welcome-content h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .welcome-content .section-description {
        font-size: 1.05rem;
        padding: 0 15px;
    }

    .hero {
        padding: 30px 0 60px 0;
    }

    .hero-content h2 {
        font-size: 2.2rem;
        margin-bottom: 12px;
    }

    .hero-content > p {
        font-size: 1.1rem;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .action-buttons {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .welcome-section {
        padding: 30px 0 20px 0;
    }

    .welcome-content h2 {
        font-size: 1.7rem;
        margin-bottom: 15px;
    }

    .welcome-content .section-description {
        font-size: 1rem;
        padding: 0 10px;
    }

    .hero {
        padding: 25px 0 50px 0;
    }

    .hero-content h2 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .hero-content > p {
        font-size: 1rem;
        margin-bottom: 25px;
        padding: 0 10px;
    }

    .button-card {
        padding: 25px 20px;
    }
}