/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)), 
                url('background-image.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: #1C96E8;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 1rem 20px 0.5rem 20px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 3rem;
}

.logo img {
    width: clamp(120px, 20vw, 135px);
    height: auto;
}

/* Hamburger Menu Button */
.hamburger-menu {
    display: none !important;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background: black;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Desktop Navigation */
.nav-menu.desktop-nav {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-top: 0.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: white;
    font-weight: normal;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: rgba(255,255,255,0.8);
}

.nav-menu a.current-page {
    text-decoration: underline;
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: white;
    z-index: 1000;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
}

.mobile-nav-overlay.active {
    right: 0;
}

.mobile-nav-content {
    padding: 2rem 1.5rem;
    height: 100%;
    position: relative;
}

.mobile-nav-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.mobile-nav-close:hover {
    background: #f0f0f0;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 3rem 0 0 0;
}

.mobile-nav-menu li {
    margin-bottom: 1.5rem;
}

.mobile-nav-menu a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    font-weight: normal;
    padding: 0.5rem 0;
    display: block;
    transition: color 0.3s ease;
}

.mobile-nav-menu a:hover {
    color: #1C96E8;
}

.mobile-nav-menu a.current-page {
    font-weight: bold;
}

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
}

/* Desktop - ensure hamburger is hidden and desktop nav is shown */
@media (min-width: 769px) {
    .hamburger-menu {
        display: none !important;
    }
    
    .nav-menu.desktop-nav {
        display: flex !important;
    }
    
    .mobile-nav-overlay {
        display: none !important;
    }
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero-section {
    background: transparent;
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-section h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 2rem;
    font-weight: bold;
}

.address-checker {
    background: white;
    color: #333;
    padding: 2rem;
    border-radius: 12px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.address-checker h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

.address-checker p {
    margin-bottom: 2rem;
    color: #4a5568;
    font-size: 1.1rem;
}

/* Address Form Styles */
.input-container {
    position: relative;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.input-box {
    width: 100%;
    padding: 12px 16px;
    margin: 10px 0;
    box-sizing: border-box;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 16px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.input-box:focus {
    outline: none;
    border-color: #1C96E8;
}

.input-box.typing {
    background-color: #1C96E8;
    color: white;
    border-color: #1C96E8;
}

.check-button, .notify-button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    color: #fff;
    background-color: #1C96E8;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: inherit;
    margin: 10px 0;
    transition: background-color 0.3s ease;
    width: 100%;
    max-width: 200px;
}

.check-button:hover, .notify-button:hover {
    background-color: #1684d0;
}

.status-message {
    font-size: 1.2em;
    margin-bottom: 10px;
    display: none;
    padding: 10px;
    border-radius: 4px;
}

.status-message.success {
    background-color: #d4edda;
    color: #155724;
}

.status-message.error {
    background-color: #f8d7da;
    color: #721c24;
}

.status-message.success::before {
    content: "✔ ";
    color: green;
}

.status-message.error::before {
    content: "✖ ";
    color: red;
}

.form-message {
    font-size: 1.2em;
    margin: 20px 0;
    color: #333;
}

.email-capture-form {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 4px;
    margin: 10px 0;
}

/* Subscription Section */
.subscription-section {
    background: transparent;
    padding: 4rem 0;
}

.subscription-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.subscription-container h1 {
    color: #2d3748;
    margin-bottom: 24px;
    font-size: clamp(24px, 5vw, 32px);
    line-height: 1.2;
    text-align: center;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #4a5568;
    font-weight: 500;
    font-size: clamp(14px, 4vw, 16px);
}

input[type="date"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 16px;
    -webkit-appearance: none;
}

.proceed-button {
    background: #4CAF50;
    color: white;
    padding: 16px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: clamp(16px, 4vw, 18px);
    width: 100%;
    transition: background 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.proceed-button:hover {
    background: #43A047;
}

@media (hover: none) {
    .proceed-button:hover {
        background: #4CAF50;
    }
}

.price-display {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 6px;
}

.price-display h3 {
    margin: 0 0 15px 0;
    color: #2d3748;
    font-size: 1.2em;
}

/* Summary Box Styles */
.summary-box {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 16px;
    margin-top: 16px;
}

.summary-header {
    font-weight: bold;
    color: #2d3748;
    margin-bottom: 12px;
    font-size: 1.1em;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px solid #f7fafc;
}

.summary-item:last-of-type {
    border-bottom: none;
}

.item-label {
    flex-grow: 1;
}

.item-sublabel {
    font-size: 0.85em;
    color: #718096;
    margin-top: 4px;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0 8px 0;
    border-top: 2px solid #e2e8f0;
    margin-top: 8px;
    font-weight: bold;
    font-size: 1.1em;
    color: #2d3748;
}

/* Dates Summary */
.dates-summary {
    margin-top: 16px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
}

.dates-summary .date-item {
    display: flex;
    justify-content: space-between;
    margin: 8px 0;
}

/* Text Styles */
.text-muted {
    color: #718096;
    font-size: 0.9em;
}

.service-option {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: clamp(10px, 3vw, 12px);
    background: #f8f9fa;
    border-radius: 6px;
    transition: background 0.3s ease;
    min-height: 60px;
}

@media (hover: hover) {
    .service-option:hover {
        background: #f0f0f0;
    }
}

.price-tag {
    margin-left: auto;
    color: #718096;
    padding-left: 15px;
    white-space: nowrap;
    font-size: clamp(14px, 4vw, 16px);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.service-label {
    flex-grow: 1;
    margin-left: 15px;
    font-size: clamp(14px, 4vw, 16px);
    line-height: 1.3;
}

/* Toggle Switch Styles */
.switch {
    position: relative;
    display: inline-block;
    width: clamp(46px, 13vw, 50px);
    height: clamp(24px, 7vw, 26px);
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
    -webkit-tap-highlight-color: transparent;
}

.slider:before {
    position: absolute;
    content: "";
    height: clamp(16px, 5vw, 18px);
    width: clamp(16px, 5vw, 18px);
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #4CAF50;
}

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

input:checked + .slider:before {
    transform: translateX(clamp(22px, 6vw, 24px));
}

.base-service {
    font-weight: 500;
}

.billing-choice .service-option {
    background: transparent;
    padding: 0;
    margin-top: 5px;
}

.billing-choice .service-label {
    color: #4a5568;
    font-size: 0.9em;
}

.billing-switch {
    width: 40px !important;
    height: 20px !important;
}

.billing-switch .billing-slider {
    background-color: #ccc !important;
}

.billing-switch .billing-slider:before {
    height: 12px !important;
    width: 12px !important;
}

.billing-switch input:checked + .billing-slider {
    background-color: #1C96E8 !important;
}

.billing-switch input:checked + .billing-slider:before {
    transform: translateX(20px);
}

.info-icon {
    color: #a0aec0;
    cursor: help;
    font-size: 16px;
    margin-left: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e2e8f0;
    border: none;
    font-family: serif;
    font-weight: bold;
    font-style: normal;
    vertical-align: middle;
    -webkit-tap-highlight-color: transparent;
}

.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltip-text {
    visibility: hidden;
    position: absolute;
    width: 250px;
    background-color: #2d3748;
    color: white;
    text-align: left;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.4;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.tooltip .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #2d3748 transparent transparent transparent;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

@media (max-width: 480px) {
    .tooltip .tooltip-text {
        width: 200px;
        font-size: 13px;
    }
}

.annual-price {
    font-size: 0.9em;
    color: #4CAF50;
    display: none;
}

.show-annual .annual-price {
    display: block;
}

.show-annual .monthly-price {
    font-size: 0.9em;
    text-decoration: line-through;
    opacity: 0.7;
}

/* Footer Styles */
.footer {
    background: #2d3748;
    color: white;
    padding: 2rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    line-height: 1.6;
    color: #cbd5e0;
}

.footer-contact a {
    color: #1C96E8;
    text-decoration: none;
}

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

.footer-copyright {
    text-align: center;
    color: #a0aec0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        gap: 0 !important;
        padding: 1rem 20px !important;
    }

    .hamburger-menu {
        display: flex !important;
        margin-top: 0.25rem;
    }

    .nav-menu.desktop-nav {
        display: none !important;
    }

    .hero-section {
        padding: 2rem 0;
    }

    .address-checker {
        margin: 0.5rem;
        padding: 1.5rem;
    }

    .subscription-section {
        padding: 2rem 0;
    }

    .subscription-container {
        margin: 0.5rem;
        padding: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }

    .service-option {
        padding: 8px;
    }

    .service-label {
        margin-left: 10px;
    }

    .price-tag {
        padding-left: 10px;
    }
}

@media (max-width: 380px) {
    .container {
        padding: 0 10px;
    }

    .service-option {
        padding: 8px;
    }

    .service-label {
        margin-left: 10px;
    }

    .price-tag {
        padding-left: 10px;
    }
}

/* Prevent text selection on labels */
.service-label, .price-tag {
    user-select: none;
    -webkit-user-select: none;
}

/* Active state for mobile */
@media (hover: none) {
    .service-option:active {
        background: #f0f0f0;
    }
} 