/* Global Styles */
:root {
    --primary: #1f6f8b;
    --primary-hover: #155e75;
    --accent: #f4a259;
    --heading: #1f2937;
    --text: #4b5563;
    --muted: #6b7280;
    --bg: #f7fafc;
    --bg-alt: #ffffff;
    --footer-bg: #0f172a;
}
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
    color: var(--heading);
}

a {
    text-decoration: none;
    color: var(--primary);
}

a:hover {
    text-decoration: underline;
}

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

/* Header */
header {
    background-color: transparent;
    box-shadow: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 16px;
}

.logo .site-title {
    margin: 0;
    font-size: 1.8rem;
    color: var(--primary);
    font-weight: bold;
    font-family: 'Playfair Display', serif;
    display: block;
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.logo .site-title a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s;
}

.logo .site-title a:hover {
    opacity: 0.8;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 500;
    color: #fff;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #f0f0f0;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
}

.btn-nav {
    background-color: var(--primary);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
}

.btn-nav:hover {
    background-color: var(--primary-hover);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    min-height: 100svh;
    background-image: url('../images/banner.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-overlay {
    background-color: transparent;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
}

.breadcrumb-bar {
    background-color: var(--bg-alt);
    border-top: 1px solid #eef2f7;
}

.breadcrumb-bar .container {
    padding: 12px 0;
}

.breadcrumb-bar .breadcrumbs {
    margin: 0;
    justify-content: flex-start;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0 0 14px;
    font-size: 0.95rem;
}

.breadcrumbs a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs .sep {
    color: var(--muted);
}

.breadcrumbs span {
    color: var(--muted);
}

.hero .breadcrumbs a {
    color: rgba(255, 255, 255, 0.95);
}

.hero .breadcrumbs .sep {
    color: rgba(255, 255, 255, 0.7);
}

.hero .breadcrumbs span {
    color: rgba(255, 255, 255, 0.85);
}

.hero h1 {
    font-size: clamp(2.1rem, 4.2vw, 3.0rem);
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.15;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.6);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

.btn-hero {
    display: inline-block;
    background-color: var(--primary);
    color: #fff;
    padding: 15px 40px;
    font-size: 1.2rem;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s, background-color 0.3s;
    box-shadow: 0 4px 15px rgba(31, 111, 139, 0.4);
}

.btn-hero:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
}

/* About Section */
.about {
    padding: 48px 0 26px;
    background-color: var(--bg-alt);
    text-align: center;
    color: var(--heading);
}

.about h2 {
    font-size: 2.2rem;
    margin-bottom: 22px;
    color: var(--heading);
}

.features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}

.feature-item {
    flex: 1 1 150px;
    min-width: 150px;
    max-width: 200px;
    padding: 16px;
    background: transparent;
}

.feature-item h3 {
    color: var(--heading);
    margin-bottom: 6px;
}

.feature-item p {
    color: var(--muted);
    margin: 0;
    font-size: 0.95rem;
}

.feat-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feat-icon svg {
    width: 36px;
    height: 36px;
    fill: none;
    stroke: var(--primary);
    stroke-width: 2.2px;
}

/* Success Stories / The Real Deal */
.stories {
    padding: 20px 0 60px;
    background-color: #fdfdfd;
}

.stories h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: var(--heading);
    text-align: center;
}

.stories-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    text-align: left;
    max-width: 100%;
    margin: 0 auto;
}

.stories-gallery {
    display: flex;
    gap: 15px;
    flex: 0 0 auto;
}

.gallery-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.gallery-img {
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.gallery-img:hover {
    transform: scale(1.02);
}

.img-tall {
    width: 200px;
    height: 320px;
}

.img-wide {
    width: 200px;
    height: 152px; /* (320 - 15) / 2 */
}

.stories-content {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.stories-content p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 24px;
}

.stories-content strong {
    color: var(--heading);
    font-weight: 700;
}

/* SEO Content Section */
.seo-content {
    padding: 60px 0;
    background-color: var(--bg);
}

.seo-wrapper {
    max-width: 100%;
    margin: 0 auto;
}

.seo-img-float {
    float: left;
    width: 40%;
    max-width: 400px;
    margin-right: 40px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    object-fit: cover;
}

.seo-wrapper h2 {
    font-size: 2.2rem;
    margin-bottom: 24px;
    color: var(--heading);
    margin-top: 0;
}

.seo-wrapper p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 16px;
}

.seo-wrapper strong {
    color: var(--heading);
    font-weight: 700;
}

.seo-wrapper a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.seo-wrapper a:hover {
    text-decoration: underline;
}

.howto {
    padding: 34px 0 60px;
    background-color: var(--bg-alt);
    text-align: left;
}

.howto-grid {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(320px, 1.35fr);
    gap: 32px;
    align-items: start;
}

.howto-left h2 {
    font-size: 2.2rem;
    margin-bottom: 14px;
    color: var(--heading);
}

.howto-lead {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0 0 22px;
}

.btn-howto {
    display: inline-block;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 26px;
    border-radius: 12px;
    font-weight: 700;
    transition: background-color 0.2s, color 0.2s, transform 0.2s;
}

.btn-howto:hover {
    background-color: var(--primary);
    color: #fff;
    transform: translateY(-1px);
}

.howto-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 40px;
}

.howto-step {
    padding: 6px 0;
}

.howto-step:nth-child(3) {
    grid-column: 1 / -1;
}

.howto-step h3 {
    margin: 10px 0 10px;
    color: var(--heading);
    font-size: 1.1rem;
}

.howto-step p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    font-size: 0.98rem;
}

.howto-step-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.howto-step-icon svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: var(--primary);
    stroke-width: 2px;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: #fff;
    text-align: center;
    padding: 60px 0;
}

.cta-banner h2 {
    color: #fff;
    margin-bottom: 15px;
}

.cta-banner p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-cta {
    display: inline-block;
    background-color: #fff;
    color: var(--primary);
    padding: 15px 40px;
    font-size: 1.2rem;
    border-radius: 50px;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}

.btn-cta:hover {
    background-color: #f0f0f0;
    color: var(--primary-hover);
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: #fff;
    text-align: center;
    padding: 40px 0;
}

.footer-links {
    margin-top: 20px;
}

.footer-links a {
    color: #ccc;
    margin: 0 15px;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #fff;
}

/* Safety Section */
.safety {
    padding: 30px 0;
    background-color: #f9fbff;
}

.safety h2 {
    font-size: 2.2rem;
    color: var(--heading);
    margin-bottom: 20px;
    text-align: center;
}

.safety-content {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.safety-content p {
    font-size: 1.1rem;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 24px;
}

.safety-content strong {
    color: var(--heading);
    font-weight: 700;
}

@media (max-width: 768px) {
    .safety-content {
        text-align: left;
    }
}

/* FAQ Section */
.faq-section {
    padding: 10px 0 30px;
    background-color: var(--bg-alt);
    text-align: center;
}

.faq-section h2 {
    font-size: 2.2rem;
    color: var(--heading);
    margin-top: 0;
    margin-bottom: 35px;
}

.faq-list {
    max-width: 100%;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    margin-bottom: 16px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: #f9f9f9;
    border: none;
    padding: 20px 24px;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--heading);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #f1f1f1;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #fff;
}

.faq-answer p {
    padding: 24px;
    margin: 0;
    color: var(--text);
    line-height: 1.6;
}

.faq-question[aria-expanded="true"] + .faq-answer {
    max-height: 500px; /* Approximate max height */
    border-top: 1px solid #eee;
}

/* Final CTA Section */
.final-cta {
    padding: 30px 0 60px;
    background-color: #f8f9fa;
    color: var(--text);
    text-align: center;
}

.final-cta h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.final-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 1;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text);
}

.final-cta p a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.final-cta p a:hover {
    text-decoration: underline;
}

.final-cta .btn {
    display: inline-block;
    padding: 16px 50px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    background-color: var(--primary);
    border: none;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(31, 111, 139, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.final-cta .btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(31, 111, 139, 0.4);
}

/* Mature Advantages Section */
.mature-advantages {
    padding: 60px 0;
    background-color: var(--bg);
    text-align: left;
}

.mature-advantages h2 {
    font-size: 2.2rem;
    margin-bottom: 24px;
    color: var(--heading);
    text-align: left;
    margin-top: 0;
}

.mature-content {
    max-width: 100%;
    margin: 0 auto;
}

.mature-img-float {
    float: right;
    width: 40%;
    max-width: 400px;
    margin-left: 40px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    object-fit: cover;
}

.mature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mature-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text);
}

.mature-list li::before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -2px;
}

.mature-list li strong {
    color: var(--heading);
    font-weight: 700;
    display: inline-block;
    margin-bottom: 4px;
}

.mature-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 20px;
}

.mature-content strong {
    color: var(--heading);
    font-weight: 700;
}

/* Local Cities Section */
.local-cities {
    padding: 20px 0 20px;
    background-color: var(--bg-alt);
    text-align: center;
}

.local-cities h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--heading);
}

.cities-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    color: var(--text);
    line-height: 1.6;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.city-item {
    text-align: center;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    padding: 30px 20px;
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.city-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-color: var(--primary);
}

.city-item h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--heading);
}

.city-item p {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        color: #111;
        margin-left: auto;
    }
    header {
        position: fixed;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.96);
        box-shadow: 0 6px 20px rgba(0,0,0,0.10);
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
    }
    header .container {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 10px 16px;
        position: relative;
    }

    header nav {
        position: absolute;
        top: 100%;
        right: 0;
        z-index: 1001;
    }

    header nav ul {
        display: none;
        position: absolute;
        top: 10px;
        right: 0;
        width: min(320px, calc(100vw - 32px));
        margin: 0;
        padding: 10px 0;
        flex-direction: column;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 12px 30px rgba(0,0,0,0.18);
    }

    header nav.open ul {
        display: flex;
    }
    
    header nav ul li {
        margin: 0;
        width: 100%;
    }

    header nav ul li a {
        display: block;
        padding: 12px 16px;
        color: #111;
    }

    header nav ul li a:hover {
        background: #f5f5f5;
        color: #111;
    }

    header nav ul li a.btn-nav {
        margin: 8px 16px 10px;
        text-align: center;
    }

    .hero-content {
        padding-top: 96px;
    }

    .features {
        gap: 16px;
    }

    .feature-item {
        min-width: 0;
        max-width: none;
        flex: 1 1 calc(50% - 16px);
        padding: 14px 10px;
    }

    .testimonials {
        flex-direction: column;
    }

    .testimonial {
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }

    .testimonial {
        padding: 24px;
    }

    .stories-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .stories-gallery {
        justify-content: center;
    }

    .stories-content {
        padding: 0;
    }

    .howto {
        text-align: center;
    }

    .howto-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .howto-steps {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .seo-img-float {
        float: none;
        width: 100%;
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 24px;
    }
    .mature-img-float {
        float: none;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-bottom: 24px;
    display: block;
}

    .seo-wrapper {
        text-align: center;
    }

    .cities-grid {
        grid-template-columns: 1fr;
    }

    .howto-step:nth-child(3) {
        grid-column: auto;
    }
}

@media (max-width: 480px) {
    .logo .site-title {
        font-size: 1.3rem;
        padding: 0 4px;
    }
    .btn-nav {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    .hero p {
        font-size: 1.15rem;
    }

    .hero-content {
        padding-top: 84px;
    }

    .feature-item {
        flex-basis: 100%;
    }

    .stories-gallery {
        gap: 10px;
    }
    
    .gallery-col {
        gap: 10px;
    }

    .img-tall {
        width: 145px;
        height: 230px;
    }

    .img-wide {
        width: 145px;
        height: 110px;
    }
}
