/* Kyushu Roads - Southern Island Gateway Design System */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Mobile Navigation Styles */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(135deg, #3F5465 0%, #1A2835 100%);
    z-index: 1000;
    padding: 2rem;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.3);
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    display: block;
    transform: translateX(0);
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(21, 21, 21, 0.6);
    z-index: 999;
}

.mobile-menu-overlay.active {
    display: block;
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.burger-menu span {
    display: block;
    width: 28px;
    height: 3px;
    background: #234A60;
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }
    
    .desktop-nav {
        display: none;
    }
}

/* Cookie Modal Styles */
.cookie-modal {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #FBFAF8;
    border-top: 3px solid #C9A048;
    padding: 1.5rem;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: none;
}

.cookie-modal.show {
    display: block;
}

.cookie-modal-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-modal button {
    transition: all 0.2s ease;
}

.cookie-modal button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Cookie Toggle Styles */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #5A6368;
    transition: 0.3s;
    border-radius: 28px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: #234A60;
}

input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

input:disabled + .toggle-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #234A60;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    display: none;
}

.notification.show {
    display: block;
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.2s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
}

.hover-scale {
    transition: transform 0.2s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-shadow {
    transition: box-shadow 0.2s ease;
}

.hover-shadow:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Navigation Active State */
.nav-link.active {
    color: #C9A048;
    font-weight: 600;
}

/* Form Styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #234A60;
    box-shadow: 0 0 0 3px rgba(35, 74, 96, 0.1);
}

/* Responsive Utilities */
@media (max-width: 640px) {
    .cookie-modal {
        padding: 1rem;
    }
}

/* Footer Grid */
footer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

@media (max-width: 768px) {
    footer {
        grid-template-columns: 1fr;
    }
}

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Testimonial Cards */
.testimonial-card {
    transition: all 0.2s ease;
}

.testimonial-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

/* Avatar Gradients */
.avatar-gradient-1 {
    background: linear-gradient(135deg, #234A60 0%, #3F5465 100%);
}

.avatar-gradient-2 {
    background: linear-gradient(135deg, #C9A048 0%, #D4B264 100%);
}

.avatar-gradient-3 {
    background: linear-gradient(135deg, #3F5465 0%, #234A60 100%);
}

.avatar-gradient-4 {
    background: linear-gradient(135deg, #C84C3C 0%, #D86555 100%);
}

.avatar-gradient-5 {
    background: linear-gradient(135deg, #234A60 0%, #C9A048 100%);
}

.avatar-gradient-6 {
    background: linear-gradient(135deg, #3F5465 0%, #C84C3C 100%);
}

/* Map Container */
.map-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* FAQ Accordion */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 500px;
}

.faq-question {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background-color: rgba(35, 74, 96, 0.05);
}

/* Browser Instructions Collapse */
.browser-instructions {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.browser-instructions.active {
    max-height: 800px;
}

.browser-toggle {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.browser-toggle:hover {
    background-color: rgba(35, 74, 96, 0.05);
}

/* Price Badge */
.price-badge {
    background: linear-gradient(135deg, #C9A048 0%, #D4B264 100%);
    color: #151515;
    font-weight: 700;
}

/* Thank You Page Styles */
.thank-you-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.thank-you-card {
    max-width: 600px;
    width: 100%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 3rem;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #234A60 0%, #3F5465 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.confirmation-box {
    background: #FBFAF8;
    border: 2px solid #C9A048;
    border-radius: 8px;
    padding: 1rem;
    position: relative;
}

.copy-button {
    transition: all 0.2s ease;
}

.copy-button:hover {
    background-color: #234A60;
}

/* Countdown Timer */
.countdown {
    font-size: 2rem;
    font-weight: 700;
    color: #234A60;
}
