*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Inter, Arial, sans-serif;
}


body{
    background:#faf7f2;
    color:#333;
}


a{
    text-decoration:none;
}


/* NAVBAR */

header{

    height:80px;
    background:white;

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

    padding:0 8%;

    box-shadow:0 2px 15px rgba(0,0,0,.08);

    position:sticky;
    top:0;
    z-index:10;

}


.logo{

    font-size:30px;
    font-weight:800;
    color:#ff6b35;

}



nav{

    display:flex;
    gap:25px;

}



nav a{

    color:#333;
    font-weight:600;
    transition:.2s;

}



nav a:hover{

    color:#ff6b35;

}



/* HERO */


.market-hero{

    min-height:600px;

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

    text-align:center;

    padding:40px 20px;

}



.market-hero h1{

    max-width:900px;

    font-size:clamp(40px,5vw,70px);

    color:#ff6b35;

}



.market-hero p{

    font-size:22px;

    margin:20px 0 40px;

    color:#555;

}



/* SEARCH */


.search-box{

    width:100%;
    max-width:900px;

    background:white;

    padding:20px;

    border-radius:25px;

    display:flex;

    gap:15px;

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

}



.search-box input,
.search-box select{

    flex:1;

    height:55px;

    padding:0 20px;

    border-radius:15px;

    border:1px solid #ddd;

    font-size:16px;

}




.btn{

    background:#ff6b35;

    color:white;

    padding:15px 30px;

    border-radius:30px;

    font-weight:bold;

    display:inline-flex;

    align-items:center;

    justify-content:center;

    transition:.2s;

}



.btn:hover{

    transform:translateY(-3px);

}




/* CATEGORY SECTION */


.categories{

    max-width:1200px;

    margin:auto;

    padding:50px 20px;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

}



.category{

    background:white;

    height:180px;

    border-radius:25px;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    font-size:45px;

    box-shadow:0 5px 20px rgba(0,0,0,.08);

    transition:.3s;

}



.category h2{

    font-size:22px;

    margin-top:15px;

}



.category:hover{

    transform:translateY(-8px);

}




/* PROVIDERS */


.providers{

    max-width:1200px;

    margin:auto;

    padding:60px 20px;

}



.providers h2{

    font-size:35px;

    margin-bottom:30px;

}



.provider-card{

    background:white;

    width:350px;

    border-radius:25px;

    padding:30px;

    box-shadow:0 5px 20px rgba(0,0,0,.1);

}



.provider-card h3{

    font-size:24px;

    margin-bottom:15px;

}



.provider-card p{

    margin:10px 0;

}



/* FOOTER */


footer{

    background:#222;

    color:white;

    text-align:center;

    padding:30px;

    margin-top:50px;

}




/* MOBILE */


@media(max-width:900px){


header{

    padding:0 20px;

}


nav{

    display:none;

}


.search-box{

    flex-direction:column;

}


.categories{

    grid-template-columns:1fr 1fr;

}


}



@media(max-width:500px){


.categories{

    grid-template-columns:1fr;

}


}
 /* LISTINGS PAGE */


.providers h1{

font-size:45px;
color:#ff6b35;
margin-bottom:30px;

}



.filters{

background:white;

padding:20px;

border-radius:20px;

display:flex;

gap:15px;

margin-bottom:40px;

box-shadow:0 5px 20px rgba(0,0,0,.08);

}



.filters select{

height:45px;

padding:0 15px;

border-radius:10px;

border:1px solid #ddd;

}




.listing-grid{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:30px;

}



.listing-card{

background:white;

padding:30px;

border-radius:25px;

box-shadow:0 5px 20px rgba(0,0,0,.1);

transition:.3s;

}



.listing-card:hover{

transform:translateY(-8px);

}



.pet-photo{

height:150px;

background:#fff1e6;

border-radius:20px;

display:flex;

align-items:center;

justify-content:center;

font-size:80px;

margin-bottom:20px;

}



.listing-card h2{

margin-bottom:15px;

}



.listing-card p{

margin:10px 0;

color:#666;

}



.listing-card h3{

margin:15px 0;

color:#ff6b35;

}



@media(max-width:900px){

.listing-grid{

grid-template-columns:1fr;

}


.filters{

flex-direction:column;

}

}
/* CREATE PROVIDER PAGE */


.provider-form-page{

max-width:800px;

margin:auto;

padding:60px 20px;

text-align:center;

}



.provider-form-page h1{

font-size:45px;

color:#ff6b35;

margin-bottom:15px;

}



.provider-form-page p{

font-size:20px;

margin-bottom:40px;

}



.provider-form-page form{

background:white;

padding:40px;

border-radius:25px;

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

text-align:left;

}



.provider-form-page label{

display:block;

font-weight:bold;

margin-top:20px;

margin-bottom:8px;

}



.provider-form-page input,
.provider-form-page select,
.provider-form-page textarea{

width:100%;

padding:15px;

border-radius:12px;

border:1px solid #ddd;

font-size:16px;

}



.provider-form-page textarea{

height:120px;

resize:none;

}



.provider-form-page button{

margin-top:30px;

width:100%;

}



#success{

margin-top:25px;

font-size:20px;

color:green;

}

/* PROVIDER PROFILE */


.profile-page{

max-width:900px;

margin:auto;

padding:60px 20px;

}



.provider-profile{

background:white;

border-radius:30px;

padding:50px;

text-align:center;

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

}



.big-dog{

font-size:120px;

}



.provider-profile h1{

font-size:45px;

color:#ff6b35;

margin:20px;

}



.rating{

font-size:22px;

margin-bottom:20px;

}



.description{

margin:25px auto;

max-width:600px;

line-height:1.6;

color:#666;

}



.profile-buttons{

display:flex;

justify-content:center;

gap:20px;

margin-top:30px;

}



.message-btn{

background:#333;

}



.view-profile{

background:#ff6b35;

color:white;

border:none;

cursor:pointer;

font-size:16px;

padding:10px 20px;

border-radius:8px;

}
 /* MESSAGES */


.messages-page{

max-width:900px;

margin:auto;

padding:60px 20px;

}



.messages-page h1{

font-size:45px;

color:#ff6b35;

text-align:center;

margin-bottom:30px;

}



.chat-box{

background:white;

border-radius:25px;

padding:25px;

height:600px;

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

display:flex;

flex-direction:column;

}



#chatMessages{

flex:1;

overflow-y:auto;

padding:15px;

}



.chat-message{

padding:15px;

border-radius:15px;

margin:10px 0;

max-width:70%;

}



.chat-message.You{

background:#ff914d;

color:white;

margin-left:auto;

}



.chat-message.Provider{

background:#eee;

}



.message-input{

display:flex;

gap:10px;

}



.message-input input{

flex:1;

height:50px;

padding:15px;

border-radius:15px;

border:1px solid #ddd;
}

.message-input button{

height:50px;

padding:0 20px;

border-radius:15px;

border:none;

background:#ff6b35;

color:white;

cursor:pointer;

}

/* MESSAGING */


.messages-page{

max-width:900px;

margin:auto;

padding:60px 20px;

}



.messages-page h1{

text-align:center;

font-size:40px;

color:#ff6b35;

margin-bottom:30px;

}



.chat-box{

background:white;

height:600px;

border-radius:25px;

padding:25px;

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

display:flex;

flex-direction:column;

}



#chatMessages{

flex:1;

overflow-y:auto;

}



.chat-message{

padding:15px;

border-radius:15px;

margin:10px 0;

max-width:70%;

background:#eee;

}



.chat-message.Customer{

margin-left:auto;

background:#ff914d;

color:white;

}



.message-input{

display:flex;

gap:15px;

}



.message-input input{

flex:1;

padding:15px;

border-radius:15px;

border:1px solid #ddd;

}

/* MAP PAGE */


.map-page{

max-width:1200px;

margin:auto;

padding:50px 20px;

text-align:center;

}



.map-page h1{

font-size:45px;

color:#ff6b35;

margin-bottom:15px;

}



#map{

height:600px;

width:100%;

margin-top:40px;

border-radius:25px;

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

}

.map-page{

max-width:1200px;

margin:auto;

padding:50px 20px;

text-align:center;

}


#map{

height:600px;

width:100%;

margin-top:30px;

border-radius:25px;

overflow:hidden;

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

}

/* =========================
   PAWSTOP ANIMATIONS
========================= */


/* Page fade in */

body{

animation: pageLoad .5s ease;

}


@keyframes pageLoad{

from{

opacity:0;
transform:translateY(15px);

}


to{

opacity:1;
transform:translateY(0);

}

}




/* Buttons */


.btn{

position:relative;

overflow:hidden;

transition:.25s ease;

cursor:pointer;

}



.btn:hover{

transform:translateY(-5px) scale(1.05);

box-shadow:0 10px 25px rgba(255,107,53,.35);

}




.btn:active{

transform:scale(.92);

}





/* Click ripple */


.ripple{

position:absolute;

border-radius:50%;

transform:scale(0);

animation:ripple .5s linear;

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

}



@keyframes ripple{


to{

transform:scale(4);

opacity:0;

}


}




/* Cards */


.listing-card,
.provider-card,
.category,
.provider-profile{


transition:.3s ease;

animation:cardPop .5s ease;

}



.listing-card:hover,
.provider-card:hover,
.category:hover{


transform:translateY(-10px) scale(1.03);

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


}





@keyframes cardPop{


from{

opacity:0;

transform:scale(.8);

}


to{

opacity:1;

transform:scale(1);

}


}




/* Dog emoji animation */


.big-dog,
.pet-photo{


animation:

dogBounce 2s infinite;

}



@keyframes dogBounce{


0%,100%{

transform:translateY(0);

}


50%{

transform:translateY(-10px);

}


}

.admin-page{

max-width:1200px;

margin:auto;

padding:50px 20px;

}


.admin-page h1{

color:#ff6b35;

font-size:45px;

}



.admin-card{

background:white;

padding:30px;

border-radius:25px;

margin:25px 0;

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

}


.admin-card h2{

margin-bottom:20px;

}

/* SETTINGS */


.settings-page{

max-width:900px;

margin:auto;

padding:50px 20px;

}



.settings-page h1{

font-size:45px;

color:#ff6b35;

text-align:center;

}



.settings-card{

background:white;

padding:30px;

border-radius:25px;

margin:25px 0;

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

}



.setting-row{

display:flex;

justify-content:space-between;

align-items:center;

font-size:20px;

}



/* SWITCH */


.switch{

position:relative;

width:60px;

height:30px;

}



.switch input{

display:none;

}



.switch span{

position:absolute;

background:#ccc;

border-radius:30px;

width:60px;

height:30px;

cursor:pointer;

}



.switch span:before{

content:"";

position:absolute;

width:24px;

height:24px;

background:white;

border-radius:50%;

top:3px;

left:3px;

transition:.3s;

}



.switch input:checked + span{

background:#ff6b35;

}



.switch input:checked + span:before{

transform:translateX(30px);

}




/* DARK MODE */


.dark{

background:#121212;

color:white;

}



.dark .settings-card,
.dark .listing-card,
.dark .provider-profile,
.dark .chat-box{

background:#1e1e1e;

color:white;

}




.no-animation *{

animation:none!important;

transition:none!important;

}

/* INDEX PAGE FIX */

.hero {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px;
    text-align: center;
}


.hero h1 {
    font-size: 48px;
}


.hero p {
    font-size: 20px;
}


.features {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 40px;
}


.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}


.card {
    padding: 25px;
    border-radius: 15px;
}


.btn {
    display: inline-block;
    padding: 14px 25px;
    margin: 10px;
}

/* PAWSTOP PREMIUM PAGE */

.premium-page {

    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 30px;
    text-align: center;

}


.premium-page h1 {

    font-size: 48px;
    margin-bottom: 15px;

}


.premium-page p {

    font-size: 20px;
    margin-bottom: 40px;

}



.premium-cards {

    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;

}



.premium-card {

    width: 350px;
    padding: 35px;
    border-radius: 20px;
    text-align: center;

}



.premium-card h2 {

    font-size: 28px;

}



.premium-card h3 {

    font-size: 32px;
    margin: 20px 0;

}



.premium-card ul {

    text-align: left;
    font-size: 18px;
    line-height: 2;

}



.premium-card li {

    margin-bottom: 10px;

}



.premium-card .btn {

    margin-top: 25px;
    display: inline-block;

}



/* Mobile */

@media(max-width:768px){

    .premium-page {

        padding: 30px 15px;

    }


    .premium-page h1 {

        font-size: 34px;

    }


    .premium-cards {

        flex-direction: column;
        align-items: center;

    }


    .premium-card {

        width: 90%;

    }

}