:root{
    --red: #cc0000;
    --dark-red: #990000;
    --blue: #1db1f5;
    --blue-dark: #047ecf;
    --blue-light: #5ed7ff;
    --gold: #c5a859;
    --gold-light: #f5d76e;
    --silver: #cccccc;
    --silver-light: #e6e6e6;
    --gray-dark: #1a1a1a;
    --gray: #2d2d2d;
    --accent: var(--silver);
    --accent-light: var(--silver-light);
}


/* ==================== Global Styles =========================== */

html{
    scroll-behavior:smooth;
}

@media (max-width: 768px){
    body{
        background-attachment: scroll;
    }
}

body{
    margin:0;
    font-family: "Source Sans 3", sans-serif;
    font-size:clamp(16px, 1.2vw, 18px);

    color:white;
    min-height:100vh;

    position:relative;
    isolation:isolate;

    /* background:
        linear-gradient(
            rgba(26, 26, 26, 0.151),
            rgba(26, 26, 26, 0.137)
        ),
        url("images/notary-background.png");

    background-attachment: scroll;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    background-attachment:fixed; */
}

body::before{
    content:"";
    position:fixed;
    inset:0;
    z-index:-1;

    background:
        linear-gradient(rgba(26,26,26,0.80), rgba(26,26,26,0.80)),
        url("images/notary-background.png");

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    transform:translateZ(0);
}

/* ================= Banner ==================== */

.banner{
    background:
        linear-gradient(
            rgba(2, 169, 247, 0.616),
            rgba(0, 114, 190, 0.473)
        ),
        url("images/banner-background.jpeg");

    background-size:cover;
    background-position:center;

    color:white;
    padding:80px 40px;
    text-align:center;
}

.banner h1{
    font-family:"Cinzel", serif;
    font-size:clamp(2.5rem, 5vw, 4rem);
    font-weight:700;
    letter-spacing:4px;
    text-transform:uppercase;
    color:white;
    margin:0;
    text-shadow:
        2px 2px 8px rgba(0,0,0,.45),
        0 0 8px rgba(212,175,55,.30);
}

/* ================ Navigation ================= */

nav{
    background:linear-gradient(
            rgb(2, 169, 247),
            rgb(0, 153, 255)
        );
    padding:12px 0;
    border-top:3px solid var(--accent);
    border-bottom:3px solid var(--accent);
}

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

nav li{
    position:relative;
}

/* Add a separator after every item except the last */
nav li:not(:last-child)::after{
    content:"";
    position:absolute;
    right:0;
    top:50%;
    transform:translateY(-50%);
    width:2px;
    height:24px;
    background:var(--accent);
}

nav a{
    position:relative;
    display:block;
    padding:12px 24px;
    color:white;
    text-decoration:none;
    font-weight:bold;
}

nav a::after{
    content:"";
    position:absolute;
    left:15%;
    bottom:5px;
    width:70%;
    height:2px;
    background:var(--accent);

    transform:scaleX(0);
    transition:transform .3s ease;
}

nav a:hover::after{
    transform:scaleX(1);
}

nav a:hover{
    color:var(--accent-light);
}

/* ================ Hero Section ================= */

.hero{
    max-width:900px;
    margin:60px auto;
    padding:40px;
    text-align:center;

    background:rgba(20, 20, 20, 0.877);

    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);

    border:1px solid var(--accent);
    border-radius:15px;

    box-shadow:0 10px 30px rgba(0,0,0,.4);
}

.hero h2{
    font-size:clamp(2rem, 5vw, 3rem);
    margin-bottom:15px;
}

.hero p{
    font-size:clamp(1rem, 2.5vw, 1.25rem);
    max-width:800px;
    margin:auto;
}

/* =========== Cards ============== */

.cards{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:20px;
    padding:40px 20px;
    text-align:center;
}

.card{
    width:100%;
    max-width:250px;
    padding:20px;
    border-radius:10px;

    background: var(--blue);
    border:2px solid var(--accent);

    transition:0.3s;
    box-sizing:border-box;
    color:white;
    text-decoration:none;
}

.card:hover{
    transform:translateY(-8px);
    background: var(--blue-light);
    border-color:var(--accent);;
    box-shadow:0 10px 20px rgba(0,0,0,0.35);
}


.card h3{
    font-size:clamp(1.3rem, 3vw, 1.6rem);
    margin-top:0;
}

.card p{
    font-size:clamp(0.95rem, 2vw, 1.05rem);
}

/* ================= Map ==================== */

.map-wrap{
    width:100%;
    max-width:1000px;
    margin:20px auto 0;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 8px 24px rgba(0,0,0,0.35);
}

.map-wrap iframe{
    display:block;
    width:100%;
    height:300px;
}

@media (min-width: 768px){
    .map-wrap iframe{
        height:400px;
    }
}

/* ================= Footer ==================== */

footer{
    margin-top:60px;
    padding:40px 20px;

    background: linear-gradient(
        var(--blue-dark),
        var(--blue)
    );
    background-size:cover;
    background-position:center;
    
    border-top:3px solid var(--accent);

    text-align:center;
}

.footer-layout{
    max-width:1100px;
    margin:0 auto;
    padding:30px 20px;
}

.footer-row{
    display:grid;
    grid-template-columns:1fr 220px;
    gap:20px;
    align-items:center;
    /* margin-bottom:25px; */
}

.footer-row:nth-child(even){
    grid-template-columns:220px 1fr;
}

.footer-image img{
    width:100%;
    height: 250px;
    object-fit:cover;
    border-radius:12px;
    border:1px solid rgb(255, 255, 255);
    /*box-shadow:0 8px 20px rgba(0,0,0,0.35);*/
}

.footer-text h3{
    color:white;
    margin-bottom:10px;
}

.footer-text p{
    margin:0;
    line-height:1.6;
}

.footer-grid-list{
    list-style:none;
    padding:0;
    margin:0;
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:8px 20px;
}

.footer-grid-list li{
    padding:6px 0;
    border-bottom:1px solid rgba(212,175,55,0.25);
}

@media (max-width: 700px){
    .footer-row,
    .footer-row:nth-child(even){
        grid-template-columns:1fr;
    }

    .footer-image img{
        height:200px;
    }
    .footer-grid{
        grid-template-columns:1fr;
    }

    .footer-grid-list{
        grid-template-columns:1fr;
    }
}

footer h3{
    color:white;
    margin-bottom:20px;
    font-size:1.6rem;
}

.social-icons{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:25px;
    margin-bottom:20px;
    flex-wrap:wrap;
}

.social-icons a{
    width:55px;
    height:55px;

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

    color:white;
    font-size:1.5rem;

    border:2px solid var(--accent);;
    border-radius:50%;

    text-decoration:none;

    transition:all .3s ease;
}

.social-icons a:hover{
    background:var(--accent-light);
    color:#111;
    transform:translateY(-5px) scale(1.08);
}

footer p{
    color:white;
    font-size:1.0rem;
}

/* ========== Info Page ============== */

.copy-link{
    background:none;
    border:none;
    padding:0;
    color:#20eefd;
    font:inherit;
    font-weight:700;
    cursor:pointer;
    text-decoration:underline;
}

.copy-link:hover{
    color:#ffffff;
}

/* ========== Images ============== */

img{
    max-width:100%;
    height:auto;
}

.icon{
    width:36px;
    height:33px;
}

/* ===========================
   Tablet (768px and below)
=========================== */

@media (max-width:768px){

    .banner{
        padding:30px 20px;
    }

    .hero{
        padding:40px 20px;
    }

    .cards{
        gap:15px;
    }

    .card{
        max-width:320px;
    }

}

/* ===========================
   Phone (480px and below)
=========================== */

@media (max-width:480px){

    nav ul{
        flex-direction:column;
        align-items:stretch;
    }

    nav li{
        width:100%;
    }

    /* Remove vertical lines */
    nav li:not(:last-child)::after{
        display:none;
    }

    /* Add horizontal separators */
    nav li:not(:last-child){
        border-bottom:1px solid var(--accent);
    }

    nav a{
        text-align:center;
        padding:15px;
    }

}