/* FULL UPDATED RUSTIC CITY 001 CSS */

/* GLOBAL */
body {
    margin: 0;
    font-family: 'Georgia', serif;
    background: #1f1b18;
    color: #f5e9dc;
    overflow-x: hidden;
}
*, *::before, *::after { box-sizing: border-box; }
/* INTRO OVERLAY */
#intro-overlay {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 5000;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    opacity: 1;
    transition: opacity 1s ease-out;
}

/* VIDEO */
#intro-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* (intro logo removed; using full-screen still element instead) */

/* SITE CONTENT HIDDEN INITIALLY */
#site-content {
    opacity: 0;
    transition: opacity 1.2s ease-out;
}

/* HEADER */
header {
    width: 100%;
    padding: 20px 40px;
    background: rgba(30, 25, 22, 0.85);
    backdrop-filter: blur(6px);
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 1000;
    border-bottom: 2px solid #5a4636;
    height: 80px;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    font-size: clamp(1.25rem, 1rem + 1vw, 1.8rem);
    font-weight: bold;
    color: #f5e9dc;
    gap: 12px;
}
.logo img {
    width: clamp(50px, 6vw, 72px);
    height: auto;
    object-fit: contain;
}

/* HAMBURGER MENU */
.menu-toggle {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}
.menu-toggle .line {
    height: 5px;
    background-color: #f5e9dc;
    border-radius: 4px;
}
.menu-toggle .line1 { width: 100%; }
.menu-toggle .line2 { width: 75%; }
.menu-toggle .line3 { width: 37.5%; }

/* DROPDOWN NAV */
.dropdown-nav {
    position: absolute;
    top: 80px;
    right: 40px;
    background: rgba(30, 25, 22, 0.95);
    border: 2px solid #5a4636;
    border-radius: 8px;
    padding: 15px 20px;
    display: none;
    flex-direction: column;
    gap: 15px;
    z-index: 2000;
}
.dropdown-nav a { color:#f5e9dc; text-decoration:none; font-size:1.1rem; }
.dropdown-nav.active { display:flex; }

/* HERO */
.hero {
    height: 100vh;
    background:
        linear-gradient(rgba(15, 12, 10, 0.55), rgba(15, 12, 10, 0.65)),
        url("rustic_city_logo.jpg");
    background-size: cover;
    background-position: center;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:0 20px;
    border-bottom: 5px solid #5a4636;
}
.hero h1 { font-size:3.5rem; color:#f4d9b2; text-shadow:0 0 12px #000; }
.hero h2 { font-size:1.8rem; color:#f1e2d2; }
.hero p {
    margin:20px auto 0;
    width:650px;
    max-width:90%;
    font-size:1.25rem;
    color:#f1e2d2;
    text-align:center;
    line-height:1.6;
}

/* PACKAGE DEALS */
.deals {
    padding:110px 40px 90px;
    background:
        linear-gradient(rgba(20,10,5,.55), rgba(20,10,5,.65)),
        url("/mnt/data/A_photograph_presents_a_close-up_view_of_an_old_re.png");
    background-size:350px;
    background-repeat:repeat;
    border-bottom:4px solid #5a4636;
}
.deals h2 { text-align:center; font-size:2.6rem; color:#f4d9b2; }
.deals-intro {
    max-width:700px; margin:0 auto 40px; text-align:center;
    color:#f1e2d2; font-size:1.15rem; line-height:1.6;
}
.deals-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* responsive 2-up on wide screens */
    gap: 30px;
    align-items: start;
}
.deal-card {
    background:url('https://www.transparenttextures.com/patterns/dark-wood.png'), #3b3028;
    padding:30px; border-radius:12px; border:2px solid #4f3c2d;
    box-shadow:0 10px 24px rgba(0,0,0,.7);
    transition:.3s;
}
.deal-card:hover {
    transform:translateY(-8px);
    border-color:#c89a5b;
    box-shadow:0 0 20px rgba(255,210,140,.55), 0 0 40px rgba(255,180,100,.25);
}
.deal-price { font-size:1.3rem; color:#f4d9b2; }
.deal-savings { font-size:1.1rem; color:#d3a974; }
.deal-list { padding-left:20px; }

/* WEBSITE PACKAGES */
.packages {
    padding: 110px 40px 90px;

    /* Restore rustic brick background */
    background:
        linear-gradient(rgba(20, 10, 5, 0.55), rgba(20, 10, 5, 0.65)),
        url("rusticbrick.png");

    /* Make bricks smaller & seamless */
    background-size: 350px;
    background-repeat: repeat;
    background-position: center;

    /* Center everything */
    text-align: center;
}

.package-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.packages * {
    font-family: 'Georgia', serif;
}

.package {
    background:url('https://www.transparenttextures.com/patterns/dark-wood.png'), #3b3028;
    padding:30px; border-radius:12px; border:2px solid #4f3c2d;
    box-shadow:0 10px 24px rgba(0,0,0,.7);
    transition:.3s; position:relative;
}
.package:hover {
    transform:translateY(-8px);
    box-shadow:0 0 20px rgba(255,210,140,.55), 0 0 40px rgba(255,180,100,.25);
    border-color:#c89a5b;
}
.package-list { padding-left:20px; }
/* Match font + colors of Package Deals */
.packages h2 {
    text-align: center;
    font-size: 2.6rem;
    color: #f4d9b2;      /* Same heading color as deals */
    margin-bottom: 40px;
}

.packages .package h3 {
    color: #f4d9b2;      /* Same as deals card titles */
    font-size: 1.4rem;
}

.packages .package p,
.packages .package li {
    color: #f1e2d2;      /* Same soft ivory as deals text */
}

/* Make the package cost amounts more prominent */
.packages .package p strong {
    font-size: 1.6rem;
    color: #f4d9b2;
    display: inline-block;
    margin-top: 6px;
}

/* Make hosting card headings and prices more prominent */
.hosting-card h3 {
    font-size: 1.6rem;
    color: #f4d9b2;
    margin-bottom: 8px;
}
.hosting-card .price strong {
    font-size: 1.4rem;
    color: #f4d9b2;
}

/* HOSTING */
/* HOSTING SECTION — CLEAN VERSION (NO BRICKS) */
.hosting {
    padding: 110px 40px 90px;
    background: #1f1b18; /* Same as base body background */
    border-top: 4px solid #5a4636;
    text-align: center;
}
/* HOSTING CARDS — MATCH WEBSITE PACKAGE STYLE */
.hosting-card {
    background:
        url('https://www.transparenttextures.com/patterns/dark-wood.png'),
        #3b3028;
    padding: 40px; /* increased padding for a larger card feel */
    border-radius: 12px;
    border: 2px solid #4f3c2d;
    box-shadow: 0 10px 24px rgba(0,0,0,0.7);
    transition: 0.3s ease-in-out;
}

.hosting-card:hover {
    transform: translateY(-8px);
    border-color: #c89a5b;
    box-shadow:
        0 0 20px rgba(255, 210, 140, 0.55),
        0 0 40px rgba(255, 180, 100, 0.25);
}
/* MATCH WEBSITE PACKAGE GRID */
.hosting-grid {
    /* Match package/deals grid max width for consistent card sizing */
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    /* increase min card width so hosting cards are larger on most viewports */
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.hosting-list {
    padding-left: 20px;
    color: #f2e4d6;
    font-size: 1rem; /* slightly larger list text */
    text-align: left;
    max-width: 250px;
    margin: 0 auto;
}

.hosting-list li {
    margin-bottom: 6px;
}

.billing-toggle {
    display:flex; justify-content:center; align-items:center;
    gap:14px; margin-bottom:35px;
}
.billing-label { font-size:1.2rem; color:#c9b9a8; }
.billing-label.active { color:#f4d9b2; font-weight:bold; }
.switch { position:relative; width:58px; height:28px; }
.switch input { opacity:0; width:0; height:0; }
.slider {
    position:absolute; inset:0; background:#71533c;
    border-radius:28px; transition:0.4s; cursor:pointer;
}
.slider:before {
    content:""; position:absolute; height:22px; width:22px;
    left:3px; bottom:3px; background:#f5e9dc;
    border-radius:50%; transition:0.4s;
}
input:checked + .slider:before { transform:translateX(30px); }
.price { display:none; }
.price.active { display:block; }

/* CONTACT MODAL */
.modal {
    display:none; position:fixed; inset:0;
    background:rgba(0,0,0,.7);
    justify-content:center; align-items:center; z-index:2000;
}
.modal-content {
    background: url('https://www.transparenttextures.com/patterns/dark-wood.png'), #3b3028;
    padding:30px; width:90%; max-width:500px;
    border-radius:12px; border:2px solid #71533c;
}
#contactForm {
    display: block;
}

/* Contact form layout inside modal */
.modal-content form {
    display: grid;
    gap: 18px; /* increased vertical spacing between form rows */
}
.modal-content .form-row {
    display: block;
}
.modal-content .form-row.two-col {
    display: grid;
    grid-template-columns: 1fr; /* single-column: each field on its own line */
    gap: 12px;
}
.modal-content .field.full { grid-column: 1 / -1; margin-bottom: 8px; }

/* Extra spacing for email and phone fields to separate from following rows */
.modal-content .email-field,
.modal-content .phone-field {
    margin-bottom: 8px;
}
.modal-content label {
    display: block;
    margin-bottom: 6px;
    color: #e9d9c7;
    font-size: 0.95rem;
}
.modal-content input[type="text"],
.modal-content input[type="email"],
.modal-content select,
.modal-content textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #d6c9b3;
    background: #fbf5ea; /* soft cream */
    color: #1f1b18;
    font-family: 'Georgia', serif;
    font-size: 0.95rem;
    outline: none;
}
.modal-content textarea { min-height: 100px; resize: vertical; }
.modal-content input:focus,
.modal-content select:focus,
.modal-content textarea:focus {
    box-shadow: 0 0 0 3px rgba(200,150,90,0.12);
    border-color: #c89a5b;
}

/* Validation error styles */
.modal-content .error {
    color: #f1a07a;
    font-size: 0.9rem;
    min-height: 18px;
    margin-top: 6px;
}
.modal-content input[aria-invalid="true"],
.modal-content textarea[aria-invalid="true"],
.modal-content select[aria-invalid="true"] {
    border-color: #e08b6a;
    box-shadow: 0 0 0 3px rgba(224,139,106,0.12);
}

.modal-content .submit-btn {
    display: inline-block;
    padding: 12px 18px;
    background: #a17445;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
}
.modal-content .submit-btn:hover { background: #c08c56; box-shadow: 0 6px 18px rgba(160,110,60,0.18); }

/* Responsive adjustments */
@media (max-width: 520px) {
    .modal-content { padding: 18px; max-width: 420px; }
    .modal-content .form-row.two-col { grid-template-columns: 1fr; }
}
#closeModal { float:right; cursor:pointer; font-size:1.6rem; }

/* FOOTER */
.footer {
    background:#2a231f; padding:50px 40px;
    border-top:3px solid #5a4636; color:#f1e2d2;
}
.footer-content { max-width:1100px; margin:auto; text-align:center; }
.footer-logo { font-size:1.8rem; color:#f4d9b2; }
/* Make footer links match the site's primary text color and remove underlines */
.footer a,
.footer .footer-links a {
    color: #f5e9dc; /* same as body text */
    text-decoration: none;
}
.footer a:hover {
    color: #f5e9dc;
    text-decoration: underline; /* subtle hover cue */
}
/* Add spacing between footer links */
.footer .footer-links {
    display: inline-flex;
    gap: 20px; /* increased spacing */
    align-items: center;
}
.footer .footer-contact {
    margin-top: 12px;
}
/* FULL-SCREEN STILL SHOWN AFTER VIDEO */
#intro-still {
    position: absolute;
    inset: 0;
    /* Match the hero section background (gradient + image) */
    background:
        linear-gradient(rgba(15, 12, 10, 0.55), rgba(15, 12, 10, 0.65)),
        url("rustic_city_logo.jpg");
    background-size: cover;
    background-position: center;
    z-index: 2; /* sit above the video when faded in */
    opacity: 0;
    transition: opacity 1.2s ease-out;
}

/* ensure the video sits behind the still when the still fades in */
#intro-video { z-index: 1; }

/* Deal/select button base styles */
.deal-select-btn {
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    padding: 10px 14px;
    background: #a17445;
    color: #fff;
}

.deal-select-btn:hover {
    background: #c08c56;
    box-shadow: 0 0 12px rgba(255, 220, 160, 0.4);
}

/* Skip button shown over the intro (bottom-right) */
.skip-intro {
    position: absolute;
    right: 20px;
    bottom: 20px;
    background: rgba(0,0,0,0.45); /* see-through black */
    color: #f5e9dc; /* match site text color */
    border: none;
    padding: 10px 14px;
    border-radius: 6px;
    z-index: 9999;
    cursor: pointer;
    font-family: 'Georgia', serif;
    font-size: 0.95rem;
}
.skip-intro:hover { background: rgba(0,0,0,0.6); }

@media (max-width: 520px) {
    .skip-intro { right: 12px; bottom: 12px; padding: 12px 16px; }
}
