/* ==========================================================
   Websites for Musicians
   style.css
   Part 1
   ----------------------------------------------------------
   Reset
   Variables
   Base Styles
   Layout
   Navigation
   Hero Section
========================================================== */

/* ==========================
   RESET
========================== */

*,
*::before,
*::after{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:"Inter",sans-serif;
    background:#0b1120;
    color:#f8fafc;
    line-height:1.7;
    overflow-x:hidden;
    position:relative;
}

body.modal-open{
    overflow:hidden;
}

img{
    max-width:100%;
    display:block;
}

a{
    color:inherit;
    text-decoration:none;
}

button{
    border:none;
    background:none;
    cursor:pointer;
    font:inherit;
}

ul{
    list-style:none;
}

/* ==========================
   VARIABLES
========================== */

:root{

    --bg:#0b1120;
    --bg-light:#111827;
    --surface:rgba(255,255,255,.06);

    --text:#f8fafc;
    --muted:#cbd5e1;

    --primary:#6366f1;
    --primary-light:#818cf8;

    --accent:#06b6d4;

    --border:rgba(255,255,255,.12);

    --radius:22px;

    --shadow:
        0 20px 50px rgba(0,0,0,.35);

    --transition:.35s ease;
}

/* ==========================
   TYPOGRAPHY
========================== */

h1,h2,h3,h4{
    line-height:1.15;
    font-weight:700;
}

h1{
    font-size:clamp(3rem,7vw,5.5rem);
}

h2{
    font-size:clamp(2.2rem,5vw,3.2rem);
    margin-bottom:1rem;
}

h3{
    font-size:1.3rem;
    margin-bottom:.75rem;
}

.h2-h3-mid{
    font-size:clamp(1.6rem, 3.2vw, 1.95rem);
    line-height:1.25;
    font-weight:700;
}

p{
    color:var(--muted);
    margin-bottom:1.2rem;
}

.tab {
            display: inline-block;
            margin-left: 40px;
        }

.section-label{

    display:inline-block;

    color:var(--accent);

    font-size:1.75rem;

    letter-spacing:2px;

    text-transform:uppercase;

    margin-bottom:1rem;

    font-weight:700;

}

.eyebrow{

    display:inline-block;

    margin-bottom:1rem;

    color:var(--accent);

    text-transform:uppercase;

    letter-spacing:2px;

    font-size:.85rem;

    font-weight:700;

}

/* ==========================
   CONTAINERS
========================== */

.container{

    width:min(1120px,92%);
    margin:auto;

}

.narrow{

    width:min(760px,92%);
    margin:auto;

}

.center{

    text-align:center;

}

.section{

    padding:120px 0;

}

.alt{

    background:rgba(255,255,255,.02);

}

/* ==========================
   GLASS EFFECT
========================== */

.glass{

    background:var(--surface);

    border:1px solid var(--border);

    backdrop-filter:blur(18px);

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

    border-radius:var(--radius);

    box-shadow:var(--shadow);

}

/* ==========================
   BACKGROUND BLURS
========================== */

.background-blur{

    position:fixed;

    width:500px;

    height:500px;

    border-radius:50%;

    filter:blur(120px);

    opacity:.18;

    z-index:-1;

}

.blur-1{

    top:-160px;
    left:-160px;

    background:#6366f1;

}

.blur-2{

    right:-180px;
    bottom:-180px;

    background:#06b6d4;

}

/* ==========================
   BACKGROUND DECOR
========================== */

.background-circle{

    position:fixed;

    border-radius:50%;

    pointer-events:none;

    z-index:-2;

    opacity:.24;

    filter:blur(16px);

    mix-blend-mode:screen;

    background:radial-gradient(
        circle at 30% 30%,
        rgba(251, 97, 120, 0.28),
        rgba(163, 54, 78, .24) 48%,
        rgba(94, 24, 40, .16) 72%,
        transparent 100%
    );

}

.circle-1{

    width:280px;
    height:280px;
    top:130px;
    left:6%;

}

.circle-2{

    width:220px;
    height:220px;
    top:34%;
    right:10%;

}

.circle-3{

    width:320px;
    height:320px;
    bottom:8%;
    left:40%;

}

/* ==========================
   HEADER
========================== */

.header{

    position:fixed;

    top:0;

    width:100%;

    z-index:999;

    backdrop-filter:blur(18px);

    background:rgba(11,17,32,.70);

    border-bottom:1px solid rgba(255,255,255,.05);

}

.nav-container{

    display:flex;

    align-items:center;

    justify-content:space-between;

    height:82px;

}

.logo-img{

    width:40px;

    height:40px;

    /* margin-right:.5rem; */

}

.logo-img:hover{

    cursor:pointer;

}

.logo{

    font-weight:800;

    font-size:1.15rem;

    letter-spacing:.5px;

}

.nav{

    display:flex;

    gap:2rem;

    align-items:center;

}

.nav a{

    color:var(--muted);

    transition:var(--transition);

    font-weight:500;

}

.nav a:hover{

    color:white;

}

.menu-btn{

    display:none;

    color:white;

    font-size:1.8rem;

}

/* ==========================
   BUTTONS
========================== */

.btn-primary,
.btn-secondary,
.btn-small{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    border-radius:999px;

    transition:var(--transition);

    font-weight:600;

}

.btn-primary{

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--accent)
    );

    color:white;

    padding:16px 34px;

    box-shadow:
    0 15px 35px rgba(99,102,241,.35);

}

.btn-primary:hover{

    transform:translateY(-4px);

}

.btn-secondary{

    border:1px solid rgba(255,255,255,.12);

    padding:16px 34px;

}

.btn-secondary:hover{

    background:rgba(255,255,255,.05);

}

.btn-small{

    background:var(--primary);

    color:white;

    padding:12px 20px;

}

/* ==========================
   CONTACT MODAL
========================== */

.contact-modal-overlay{

    position:fixed;

    inset:0;

    display:none;

    align-items:center;

    justify-content:center;

    padding:24px;

    background:rgba(4,8,16,.72);

    backdrop-filter:blur(12px);

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

    z-index:2000;

}

.contact-modal-overlay.is-open{

    display:flex;

}

.contact-modal{

    position:relative;

    width:min(640px,100%);

    padding:34px 30px 30px;

    border-radius:28px;

    border:1px solid rgba(255,255,255,.14);

    background:rgba(15,23,42,.96);

    box-shadow:0 30px 80px rgba(0,0,0,.5);

    font-family:"Cormorant Garamond", serif;

    text-align:center;

}

.contact-modal-eyebrow{

    margin-bottom:.65rem;

    color:var(--accent);

    text-transform:uppercase;

    letter-spacing:3px;

    font-size:.95rem;

    font-weight:700;

}

.contact-modal h2{

    margin-bottom:1.6rem;

    font-size:clamp(2.1rem, 5vw, 3.5rem);

    font-weight:600;

}

.contact-modal-actions{

    display:grid;

    grid-template-columns:repeat(2, minmax(0, 1fr));

    gap:14px;

}

.contact-modal-button{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-height:62px;

    padding:16px 20px;

    border-radius:999px;

    border:1px solid rgba(255,255,255,.18);

    background:rgba(255,255,255,.04);

    color:#f8fafc;

    font-family:"Cormorant Garamond", serif;

    font-size:1.45rem;

    font-weight:600;

    letter-spacing:.02em;

    transition:transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);

}

.contact-modal-button:hover,
.contact-modal-button:focus-visible{

    transform:translateY(-2px);

    background:rgba(255,255,255,.08);

    border-color:rgba(255,255,255,.28);

    box-shadow:0 12px 28px rgba(0,0,0,.25);

}

.contact-modal-close{

    position:absolute;

    top:14px;

    right:16px;

    width:42px;

    height:42px;

    border-radius:50%;

    color:#f8fafc;

    font-size:1.8rem;

    line-height:1;

    background:rgba(255,255,255,.06);

}

.contact-modal-close:hover,
.contact-modal-close:focus-visible{

    background:rgba(255,255,255,.12);

}

button.btn-small{

    font:inherit;

}

.large{

    font-size:1.1rem;

    padding:18px 42px;

}

/* ==========================
   HERO
========================== */

.hero{

    /* min-height:100vh; */

    display:flex;

    align-items:center;

    margin: auto;

    width: 75%;

    padding-top:100px;

}

/* .hero-grid{

} */

.hero h1{

    margin-bottom:1.4rem;

}

.center{

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

    /* color:var(--accent); */

}

/* .hero p{

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

    max-width:620px;

    font-size:1.15rem;

} */

.hero-buttons{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:1rem;

    margin-top:2rem;

    flex-wrap:wrap;

}

.hero-card-section{

    justify-content:center;

}

/* ==========================
   HERO CARD
========================== */

.hero-card{
    
    padding:2.5rem;

    width:min(50vw, 760px);

    max-width:760px;

    display:flex;

    flex-direction:column;

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

    text-align:center;

    margin:0 auto;

}

.hero-card h3{

    margin-bottom:1.5rem;

}

.hero-card ul{

    display:grid;

    gap:1rem;

    width:100%;

}

.hero-card li{

    color:var(--muted);

    border-bottom:1px solid rgba(255,255,255,.06);

    padding-bottom:.9rem;

    text-align:center;

}

.hero-card li:last-child{

    border:none;

}

/* ==========================
   REVEAL ANIMATION
========================== */

.reveal{

    opacity:0;

    transform:translateY(35px);

    transition:
        opacity .8s ease,
        transform .8s ease;

}

.reveal.visible{

    opacity:1;

    transform:none;

}

/* ==========================================================
   Websites for Musicians
   style.css
   Part 2
   ----------------------------------------------------------
   About
   Services
   Cards
   Timeline
   Portfolio
========================================================== */

/* ==========================
   ABOUT
========================== */

#about{

    position:relative;

}

#about p{

    font-size:1.08rem;

    max-width:700px;

}

#about h2{

    margin-bottom:1.5rem;

}

/* ==========================
   SERVICES GRID
========================== */

.cards{

    margin-top:4rem;

    display:grid;

    grid-template-columns:
        repeat(auto-fit,minmax(250px,1fr));

    gap:2rem;

}

.card{

    padding:1.7rem;

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;

    position:relative;

    overflow:hidden;

}

.card::before{

    content:"";

    position:absolute;

    inset:0;

    background:
        linear-gradient(
            135deg,
            rgba(99,102,241,.10),
            rgba(6,182,212,.08)
        );

    opacity:0;

    transition:opacity .35s ease;

    pointer-events:none;

}

.card:hover{

    transform:translateY(-10px);

    border-color:rgba(99,102,241,.45);

    box-shadow:
        0 24px 60px rgba(0,0,0,.35);

}

.card:hover::before{

    opacity:1;

}

.icon{

    width:72px;

    height:72px;

    border-radius:20px;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:2rem;

    margin-bottom:1.5rem;

    background:
        linear-gradient(
            135deg,
            rgba(99,102,241,.25),
            rgba(6,182,212,.18)
        );

    border:1px solid rgba(255,255,255,.08);

}

.card h3{

    margin-bottom:1rem;

}

.card p{

    margin-bottom:0;

}

/* ==========================
   PROCESS
========================== */

.timeline{

    margin-top:4rem;

    display:flex;

    flex-direction:column;

    gap:2rem;

    position:relative;

}

.timeline::before{

    content:"";

    position:absolute;

    left:30px;

    top:0;

    bottom:0;

    width:2px;

    background:
        linear-gradient(
            var(--primary),
            var(--accent)
        );

    opacity:.4;

}

.timeline-item{

    display:flex;

    gap:2rem;

    align-items:flex-start;

    position:relative;

}

.timeline-item span{

    width:60px;

    height:60px;

    border-radius:50%;

    flex-shrink:0;

    display:flex;

    align-items:center;

    justify-content:center;

    font-weight:700;

    font-size:1.2rem;

    color:white;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--accent)
        );

    box-shadow:
        0 10px 25px rgba(99,102,241,.30);

    position:relative;

    z-index:2;

}

.timeline-item div{

    flex:1;

    padding:1.8rem 2rem;

    border-radius:22px;

    background:rgba(255,255,255,.04);

    border:1px solid rgba(255,255,255,.08);

    transition:
        transform .35s ease,
        border-color .35s ease;

}

.timeline-item div:hover{

    transform:translateX(8px);

    border-color:rgba(6,182,212,.35);

}

.timeline-item p{

    margin-bottom:0;

}

/* ==========================
   PORTFOLIO
========================== */

.portfolio-grid{

    margin-top:4rem;
    
    /*  */
    display:flex;

    justify-content: center;
    
    align-items: center;
    /*  */
    
    /* display:grid;

    grid-template-columns:
        repeat(auto-fit,minmax(280px,1fr));

    gap:2rem; */

}

.portfolio-card{

    /*  */
    display:inline-block;

    width:40%;

    height: 300px;
    /*  */

    /* min-height:240px; */

    padding:2rem;

    display:flex;

    flex-direction:column;

    justify-content:flex-end;

    position:relative;

    overflow:hidden;

    transition:
        transform .35s ease,
        border-color .35s ease;

}

.portfolio-card::before{

    content:"";

    position:absolute;

    inset:0;

    background:
        linear-gradient(
            to top,
            rgba(99,102,241,.35),
            transparent
        );

    opacity:.75;

    transition:opacity .35s ease;

}

.portfolio-card:hover{

    transform:translateY(-10px);

    border-color:rgba(99,102,241,.45);

}

.portfolio-card:hover::before{

    opacity:1;

}

.portfolio-card h3,
.portfolio-card p{

    position:relative;

    z-index:2;

}

.portfolio-card h3{

    margin-bottom:.6rem;

}

.portfolio-card p{

    margin-bottom:0;

}

/* ==========================
   OPTIONAL PLACEHOLDER
========================== */

.portfolio-card:nth-child(1){

    background:
        linear-gradient(
            rgba(0,0,0,.45),
            rgba(0,0,0,.65)
        ),
        url("media/solomon-website.png"),
        linear-gradient(
            rgba(0,0,0,.45),
            rgba(51, 88, 152, 0.65)
        );

    background-size:contain;

    background-repeat: no-repeat;
    
    background-position:center top;

}

.portfolio-card:nth-child(2){

    background:
        linear-gradient(
            rgba(0,0,0,.45),
            rgba(0,0,0,.65)
        ),
        url("assets/portfolio2.jpg");

    background-size:cover;

    background-position:center;

}

.portfolio-card:nth-child(3){

    background:
        linear-gradient(
            rgba(0,0,0,.45),
            rgba(0,0,0,.65)
        ),
        url("assets/portfolio3.jpg");

    background-size:cover;

    background-position:center;

}

/* ==========================
   SECTION TITLES
========================== */

.section h2{

    max-width:700px;

}

.section > .container > p{

    max-width:720px;

}

/* ==========================
   HOVER EFFECTS
========================== */

.card,
.portfolio-card,
.timeline-item div{

    will-change:transform;

}

.card:hover h3,
.portfolio-card:hover h3{

    color:var(--accent);

    transition:color .3s ease;

}

/* ==========================
   SMALL TABLETS
========================== */

@media (max-width:900px){

    .timeline::before{

        left:25px;

    }

    .timeline-item{

        gap:1.25rem;

    }

    .timeline-item span{

        width:50px;
        height:50px;

        font-size:1rem;

    }

}

/* ==========================================================
   Websites for Musicians
   style.css
   Part 3
   ----------------------------------------------------------
   FAQ
   Contact
   Footer
   Responsive
   Animations
========================================================== */

/* ==========================
   FAQ
========================== */

.faq{
    margin-top:3rem;
    display:flex;
    flex-direction:column;
    gap:1rem;
}

.faq-item{
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.08);
    border-radius:20px;
    overflow:hidden;
    transition:border-color .3s ease;
}

.faq-item.active{
    border-color:rgba(99,102,241,.45);
}

.faq-question{
    width:100%;
    padding:1.4rem 1.6rem;
    display:flex;
    justify-content:space-between;
    align-items:center;
    color:white;
    font-weight:600;
    text-align:left;
}

.faq-question span{
    font-size:1.5rem;
    transition:transform .3s ease;
}

.faq-item.active .faq-question span{
    transform:rotate(45deg);
}

.faq-answer{
    max-height:0;
    overflow:hidden;
    transition:max-height .35s ease;
}

.faq-answer p{
    padding:0 1.6rem 1.6rem;
    margin:0;
}

/* ==========================
   CONTACT
========================== */

.contact{
    display:flex;
    justify-content:center;
    align-items:center;

    text-align:center;
}

.contact div > *{
    
    display:flex;

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

    text-align:center;

}

.contact p{
    max-width:700px;
    margin:1.5rem auto 2.5rem;
}

.contact button{
    max-width:700px;
    margin:1.5rem auto 2.5rem;
}

.contact .btn-primary{
    font-size:1.05rem;
}

/* ==========================
   FOOTER
========================== */

.footer{
    border-top:1px solid rgba(255,255,255,.08);
    padding:2rem 0;
    background:rgba(255,255,255,.02);
}

.footer .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:2rem;
    flex-wrap:wrap;
}

.footer p{
    margin:0;
    color:var(--muted);
}

.footer-links{
    display:flex;
    gap:1.5rem;
    flex-wrap:wrap;
}

.footer-links a{
    color:var(--muted);
    transition:color .3s ease;
}

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

/* ==========================
   MOBILE NAVIGATION
========================== */

@media (max-width:900px){

    .menu-btn{
        display:block;
    }

    .nav{
        position:absolute;
        top:82px;
        left:0;
        width:100%;
        background:#111827;
        border-top:1px solid rgba(255,255,255,.08);

        display:flex;
        flex-direction:column;

        gap:0;

        max-height:0;
        overflow:hidden;

        transition:max-height .35s ease;
    }

    .nav.active{
        max-height:500px;
    }

    .nav a{
        width:100%;
        padding:1rem 2rem;
        border-bottom:1px solid rgba(255,255,255,.05);
    }

    .btn-small{
        margin:1rem 2rem 2rem;
    }

    .hero{
        padding-top:140px;
    }

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

    .hero-card{
        order:-1;
    }

}

/* ==========================
   TABLET
========================== */

@media (max-width:768px){

    .section{
        padding:90px 0;
    }

    h1{
        font-size:3rem;
    }

    h2{
        font-size:2.2rem;
    }

    .hero-buttons{
        flex-direction:column;
        align-items:center;
    }

    .btn-primary,
    .btn-secondary{
        width:100%;
        justify-content:center;
    }

    .timeline::before{
        display:none;
    }

    .timeline-item{
        flex-direction:column;
    }

    .timeline-item span{
        margin-bottom:1rem;
    }

    .timeline-item div:hover{
        transform:none;
    }

    .cards,
    .portfolio-grid{
        grid-template-columns:1fr;
    }

    .footer .container{
        flex-direction:column;
        text-align:center;
    }

}

/* ==========================
   PHONE
========================== */

@media (max-width:500px){

    body{
        font-size:15px;
    }

    .hero{
        min-height:auto;
    }

    .hero-card{
        padding:2rem;
        width:min(92vw, 760px);
    }

    .card{
        padding:1.5rem;
    }

    .portfolio-card{
        min-height:180px;
    }

    .background-blur{
        width:300px;
        height:300px;
        filter:blur(90px);
    }

}

/* ==========================
   SCROLLBAR
========================== */

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#0b1120;
}

::-webkit-scrollbar-thumb{
    background:#30384d;
    border-radius:20px;
}

::-webkit-scrollbar-thumb:hover{
    background:#6366f1;
}

/* ==========================
   TEXT SELECTION
========================== */

::selection{
    background:var(--primary);
    color:white;
}

/* ==========================
   FOCUS STATES
========================== */

a:focus-visible,
button:focus-visible{
    outline:3px solid var(--accent);
    outline-offset:4px;
    border-radius:8px;
}

/* ==========================
   SIMPLE FADE-IN
========================== */

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(30px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

.hero-content{
    animation:fadeUp .9s ease forwards;
}

.hero-card{
    animation:fadeUp 1.1s ease forwards;
}

/* ==========================
   HOVER TRANSITIONS
========================== */

.card,
.portfolio-card,
.hero-card,
.btn-primary,
.btn-secondary,
.btn-small{
    transition:
        transform .35s ease,
        box-shadow .35s ease,
        background .35s ease,
        border-color .35s ease;
}

/* ==========================
   UTILITIES
========================== */

.hidden{
    display:none !important;
}

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

.mt-1{ margin-top:1rem; }
.mt-2{ margin-top:2rem; }
.mt-3{ margin-top:3rem; }

.mb-1{ margin-bottom:1rem; }
.mb-2{ margin-bottom:2rem; }
.mb-3{ margin-bottom:3rem; }

.nav a.active-link{
    color:var(--accent);
    font-weight:600;
}

/* ==========================================================
   END OF STYLESHEET
========================================================== */
