/*
==========================================================
Map Site Generator
style.css
Version : 1.0
==========================================================
*/

*,*::before,*::after{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{
    --primary:#198754;
    --primary-dark:#146c43;
    --background:#f5f7fb;
    --surface:#ffffff;
    --text:#222222;
    --muted:#666666;
    --border:#dddddd;
    --radius:12px;
    --shadow:0 8px 24px rgba(0,0,0,.08);
    --container:1200px;
}

body{
    font-family:Arial,Helvetica,sans-serif;
    background:var(--background);
    color:var(--text);
    line-height:1.7;
    font-size:16px;
    -webkit-font-smoothing:antialiased;
}

a{color:var(--primary-dark);text-decoration:none;}
a:hover{text-decoration:underline;}
img{max-width:100%;display:block;}

.container{
    width:min(92%,var(--container));
    margin:auto;
}

.site-header{
    background:#fff;
    box-shadow:var(--shadow);
    position:sticky;
    top:0;
    z-index:999;
}

.site-header .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0;
}

.logo{
    font-size:26px;
    font-weight:bold;
    color:var(--text);
}

.main-nav{
    display:flex;
    gap:24px;
}

.main-nav a{
    color:var(--text);
    font-weight:600;
}

.hero{
    padding:80px 0;
    text-align:center;
}

.hero h1{
    font-size:42px;
    line-height:1.2;
    margin-bottom:20px;
}

.hero-description{
    max-width:760px;
    margin:auto;
    color:var(--muted);
    font-size:18px;
}

.hero-buttons{
    margin-top:35px;
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:16px;
}

.hero-buttons button,
.hero-link-button{
    padding:14px 30px;
    border:none;
    border-radius:var(--radius);
    cursor:pointer;
    font-size:16px;
    font-weight:700;
    background:var(--primary);
    color:#fff;
    transition:.25s;
    display:inline-block;
}

.hero-buttons button:hover,
.hero-link-button:hover{
    background:var(--primary-dark);
    text-decoration:none;
}

.map-section{
    padding:50px 0 70px;
}

.section-header{
    text-align:center;
    margin-bottom:35px;
}

.section-header h2{
    font-size:34px;
    margin-bottom:10px;
}

.section-header p{
    color:var(--muted);
    font-size:17px;
}

.map-wrapper{
    background:var(--surface);
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    overflow:hidden;
    padding:12px;
}

.map-wrapper iframe{
    display:block;
    width:100%;
    height:560px;
    border:0;
    border-radius:8px;
}

.map-actions{
    text-align:center;
    margin-top:25px;
}

.primary-btn{
    display:inline-block;
    padding:14px 30px;
    border-radius:var(--radius);
    font-size:16px;
    font-weight:700;
    background:var(--primary);
    color:#fff;
}

.primary-btn:hover{
    background:var(--primary-dark);
    color:#fff;
    text-decoration:none;
}

.features{
    padding:80px 0;
}

.features h2{
    text-align:center;
    margin-bottom:45px;
    font-size:34px;
}

.feature-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.feature-card{
    background:#fff;
    border-radius:var(--radius);
    padding:28px;
    box-shadow:var(--shadow);
    transition:.25s;
}

.feature-card:hover{transform:translateY(-6px);}
.feature-card h3{margin-bottom:15px;font-size:22px;}
.feature-card p{color:var(--muted);}

.faq-section{
    padding:80px 0;
}

.faq-section h2{
    text-align:center;
    margin-bottom:35px;
    font-size:34px;
}

.faq-section details{
    background:#fff;
    border-radius:var(--radius);
    margin-bottom:16px;
    padding:18px 22px;
    box-shadow:var(--shadow);
}

.faq-section summary{
    cursor:pointer;
    font-weight:700;
    font-size:18px;
}

.faq-section p{
    margin-top:14px;
    color:var(--muted);
    line-height:1.7;
}

.related-section{
    padding:60px 0;
    text-align:center;
}

.related-section h2{
    margin-bottom:15px;
    font-size:34px;
}

.related-intro{
    color:var(--muted);
}

.site-footer{
    background:#222;
    color:#fff;
    padding:60px 0;
    margin-top:60px;
}

.site-footer h2{
    font-size:28px;
    margin-bottom:15px;
}

.site-footer p{
    color:#d8d8d8;
    margin-bottom:18px;
}

.footer-nav{
    display:flex;
    flex-wrap:wrap;
    gap:20px;
    margin:25px 0;
}

.footer-nav a{
    color:#fff;
    font-weight:600;
}

.footer-nav a:hover{color:var(--primary);}
.copyright{margin-top:30px;font-size:15px;color:#bfbfbf;}

button:focus,
a:focus,
summary:focus{
    outline:3px solid #0d6efd;
    outline-offset:3px;
}

html{scroll-behavior:smooth;}

@media (max-width:992px){
    .hero{padding:60px 0;}
    .hero h1{font-size:34px;}
    .section-header h2,.features h2,.faq-section h2,.related-section h2{font-size:30px;}
    .map-wrapper iframe{height:480px;}
}

@media (max-width:768px){
    .site-header .container{flex-direction:column;gap:18px;}
    .main-nav{justify-content:center;flex-wrap:wrap;}
    .hero h1{font-size:28px;}
    .hero-description{font-size:16px;}
    .hero-buttons{flex-direction:column;align-items:center;}
    .hero-buttons button,.hero-link-button{width:100%;max-width:320px;text-align:center;}
    .map-wrapper iframe{height:420px;}
}

@media (max-width:480px){
    .container{width:95%;}
    .hero{padding:45px 0;}
    .hero h1{font-size:24px;}
    .section-header h2{font-size:26px;}
    .map-wrapper iframe{height:360px;}
}
