* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f6f8;
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    color: #1f2937;
    padding: 24px;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: linear-gradient(rgba(244, 246, 248, 0.7), rgba(244, 246, 248, 0.3)), url("../images/Copilot_20260504_001827.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(3px);
    transform: scale(1.03);
    z-index: -1;
}

h1 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 12px;
}

.slideshow-card.intro-card {
    max-width: 1200px;
    margin: 0 auto 20px;
}

.slideshow-card.intro-card:hover {
    border-color: #22c55e;
}

.slideshow-card.general-description-card {
    max-width: 1200px;
    margin: 0 auto 20px;
    border-color: #9ca3af;
    background: rgba(31, 41, 55, 0.65);
    color: #ffffff;
}

.slideshow-card.general-description-card:hover {
    border-color: #9ca3af;
}

.general-description-title {
    margin: 0 0 10px;
    font-size: 20px;
    text-align: center;
    color: #ffffff;
}

.general-description-text {
    margin: 0 25% 8px;
    line-height: 1.45;
    color: #ffffff;
}

.general-description-text:last-child {
    margin-bottom: 0;
}

.slideshow-card.leg-calculator-card {
    max-width: 1200px;
    margin: 0 auto 20px;
    border-color: #f59e0b;
    background: rgba(251, 146, 60, 0.2);
}

.leg-calculator-title {
    width: 90%;
    margin: 0 auto 18px;
    text-align: center;
    color: #9a3412;
}

.leg-calculator-description {
    margin: 3px 0 14px;
    padding: 10px 14px;
    border-radius: 12px;
    background-color: #ea580c;
    text-align: center;
    font-size: 14px;
    color: #ffffff;
    opacity: 0.6;
}

.leg-calculator-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
}

.leg-calc-input-row {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 8px;
}

.leg-calc-input-row label {
    padding: 8px 10px;
    border-radius: 8px;
    background: #ea580c;
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
}

.leg-calculator-form input,
.leg-calculator-form select {
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #fdba74;
    background: #fff7ed;
    color: #7c2d12;
}

.leg-calc-input-row input {
    flex: 1;
    min-width: 0;
}

.leg-calc-input-row select {
    width: 130px;
    flex-shrink: 0;
}

.leg-calc-button {
    width: 100%;
    padding: 8px 10px;
    border: none;
    border-radius: 8px;
    background: #ea580c;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
}

.leg-calc-button:hover {
    background: #c2410c;
}

.leg-calculator-results {
    margin-top: 14px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.7);
    color: #7c2d12;
}

.leg-calculator-results p {
    margin: 6px 0;
}

.leg-calculator-note {
    margin: 10px 0 0;
    font-size: 13px;
    color: #9a3412;
}

.intro-card h1 {
    margin-top: 0;
}

.top-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin: 0 auto 4px;
}

.top-contact a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #374151;
    text-decoration: none;
    font-size: 18px;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.top-contact a:hover {
    border-color: #22c55e;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(17, 24, 39, 0.15);
}

.top-contact a[aria-label="WhatsApp"] {
    color: #22c55e;
}

.top-contact a[aria-label="Email"] {
    color: #2563eb;
}

.top-contact a[aria-label="Mobile"] {
    color: #a855f7;
}

.slideshow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.slideshow-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
    transition: border-color 0.2s ease;
}

.slideshow-card:hover {
    border-color: #dc2626;
}

.slideshow-grid .slideshow-card:nth-of-type(2):hover {
    border-color: #facc15;
}

.slideshow-grid .slideshow-card:nth-of-type(3):hover {
    border-color: #a855f7;
}

.slideshow-title {
    margin: 4px 0 12px;
    font-size: 18px;
    text-align: center;
}

.slideshow-container {
    max-width: 100%;
    position: relative;
    margin: auto;
    overflow: hidden;
    border-radius: 10px;
}

.mySlides {
    display: none;
}

.mySlides img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 12px;
    color: #ffffff;
    font-weight: bold;
    font-size: 18px;
    transition: 0.3s ease;
    border-radius: 0 4px 4px 0;
    user-select: none;
    background: rgba(0, 0, 0, 0.35);
    border: none;
}

.next {
    right: 0;
    border-radius: 4px 0 0 4px;
}

.prev:hover,
.next:hover {
    background: rgba(0, 0, 0, 0.65);
}

.text {
    color: #f2f2f2;
    font-size: 14px;
    padding: 8px 12px;
    position: absolute;
    bottom: 6px;
    width: 100%;
    text-align: center;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent);
}

.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
    background: rgba(0, 0, 0, 0.35);
    border-bottom-right-radius: 8px;
}

.dots {
    text-align: center;
    margin-top: 12px;
}

.kayak-accordion {
    margin-top: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #f9fafb;
    overflow: hidden;
}

.kayak-accordion:hover {
    border-color: #dc2626;
}

.slideshow-grid .slideshow-card:nth-of-type(2) .kayak-accordion:hover {
    border-color: #facc15;
}

.slideshow-grid .slideshow-card:nth-of-type(3) .kayak-accordion:hover {
    border-color: #a855f7;
}

.kayak-accordion-summary {
    cursor: pointer;
    list-style: none;
    padding: 12px 14px;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    transition: background-color 0.2s ease;
}

.summary-label {
    z-index: 1;
}

.summary-price {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 800;
    color: #111827;
    text-align: center;
    white-space: nowrap;
}

.kayak-accordion-summary::-webkit-details-marker {
    display: none;
}

.kayak-accordion-summary::after {
    content: "+";
    font-size: 18px;
    color: #3b82f6;
}

.kayak-accordion:hover .kayak-accordion-summary::after,
.kayak-accordion[open] .kayak-accordion-summary::after {
    color: #dc2626;
}

.kayak-accordion:hover .kayak-accordion-summary,
.kayak-accordion[open] .kayak-accordion-summary {
    background: rgba(220, 38, 38, 0.6);
}

.slideshow-grid .slideshow-card:nth-of-type(2) .kayak-accordion:hover .kayak-accordion-summary,
.slideshow-grid .slideshow-card:nth-of-type(2) .kayak-accordion[open] .kayak-accordion-summary {
    background: rgba(250, 204, 21, 0.6);
}

.slideshow-grid .slideshow-card:nth-of-type(3) .kayak-accordion:hover .kayak-accordion-summary,
.slideshow-grid .slideshow-card:nth-of-type(3) .kayak-accordion[open] .kayak-accordion-summary {
    background: rgba(168, 85, 247, 0.6);
}

.slideshow-grid .slideshow-card:nth-of-type(2) .kayak-accordion:hover .kayak-accordion-summary::after,
.slideshow-grid .slideshow-card:nth-of-type(2) .kayak-accordion[open] .kayak-accordion-summary::after {
    color: #facc15;
}

.slideshow-grid .slideshow-card:nth-of-type(3) .kayak-accordion:hover .kayak-accordion-summary::after,
.slideshow-grid .slideshow-card:nth-of-type(3) .kayak-accordion[open] .kayak-accordion-summary::after {
    color: #a855f7;
}

.kayak-accordion[open] .kayak-accordion-summary::after {
    content: "−";
}

.kayak-details {
    padding: 12px;
    border-top: 1px solid #e5e7eb;
}

.kayak-details-description {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.45;
    color: #374151;
}

.kayak-spec-list {
    margin: 0;
    padding-left: 18px;
    font-size: 14px;
    color: #1f2937;
}

.kayak-spec-list li {
    margin-bottom: 4px;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 3px;
    background-color: #c4c4c4;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.4s ease;
    border: none;
    padding: 0;
}

.active,
.dot:hover {
    background-color: #3b82f6;
}

.slideshow-grid .slideshow-card:nth-of-type(1) .dot {
    background-color: #fca5a5;
}

.slideshow-grid .slideshow-card:nth-of-type(1) .dot.active,
.slideshow-grid .slideshow-card:nth-of-type(1) .dot:hover {
    background-color: #dc2626;
}

.slideshow-grid .slideshow-card:nth-of-type(2) .dot {
    background-color: #fde68a;
}

.slideshow-grid .slideshow-card:nth-of-type(2) .dot.active,
.slideshow-grid .slideshow-card:nth-of-type(2) .dot:hover {
    background-color: #facc15;
}

.slideshow-grid .slideshow-card:nth-of-type(3) .dot {
    background-color: #d8b4fe;
}

.slideshow-grid .slideshow-card:nth-of-type(3) .dot.active,
.slideshow-grid .slideshow-card:nth-of-type(3) .dot:hover {
    background-color: #a855f7;
}

.fade {
    animation-name: fade;
    animation-duration: 1s;
}

.prev:focus-visible,
.next:focus-visible,
.dot:focus-visible,
.kayak-accordion-summary:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.site-footer {
    max-width: 1200px;
    margin: 28px auto 0;
    padding: 14px 16px;
    text-align: center;
    color: #4b5563;
    font-size: 13px;
    border-top: 1px solid #d1d5db;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 10px;
}

.site-footer p {
    margin: 4px 0;
}

.footer-link {
    color: inherit;
    text-decoration: none;
    border-bottom: none;
    box-shadow: none;
    transition: color 0.2s;
}

.footer-link:hover,
.footer-link:focus {
    color: #2563eb;
    text-decoration: none;
    border-bottom: none;
    box-shadow: none;
}

@keyframes fade {
    from {
        opacity: 0.4;
    }
    to {
        opacity: 1;
    }
}
