:root{
    --primary:#8B5E3C;
    --secondary:#C79A63;
    --light:#F5EFE7;
    --dark:#3D2B1F;
    --accent:#D7B38A;
    --white:#ffffff;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Poppins',sans-serif;
    background:var(--light);
    color:var(--dark);
    overflow-x:hidden;
}

a{
    text-decoration:none;
}

.navbar{
    background:rgba(255,255,255,0.94);
    backdrop-filter:blur(10px);
    padding:18px 0;
    box-shadow:0 2px 15px rgba(0,0,0,0.08);
}

.navbar-brand{
    display:flex;
    align-items:center;
    gap:12px;
}

.navbar-brand img{
    width:58px;
    height:58px;
    object-fit:contain;
}

.brand-text{
    font-family:'Playfair Display',serif;
    font-size:1.7rem;
    font-weight:700;
    color:var(--primary);
}

.nav-link{
    color:var(--dark);
    font-weight:500;
    margin:0 10px;
    transition:0.3s;
}

.nav-link:hover{
    color:var(--primary);
}

.notification-btn{
    width:45px;
    height:45px;
    border:none;
    border-radius:50%;
    background:var(--primary);
    color:white;
    transition:0.3s;
}

.notification-btn:hover{
    background:var(--secondary);
}

.catalog-header{
    padding-top:170px;
    padding-bottom:90px;
    text-align:center;
    background:
    linear-gradient(rgba(61,43,31,0.70), rgba(61,43,31,0.70)),
    url('https://images.unsplash.com/photo-1512436991641-6745cdb1723f?q=80&w=1974&auto=format&fit=crop');
    background-size:cover;
    background-position:center;
    color:white;
}

.catalog-header h1{
    font-family:'Playfair Display',serif;
    font-size:4rem;
    margin-bottom:20px;
}

.catalog-header p{
    max-width:700px;
    margin:auto;
    line-height:1.8;
    font-size:1.1rem;
}

.catalog-hero{
    padding:140px 0 90px;
    background:
    linear-gradient(
        rgba(61,43,31,0.72),
        rgba(61,43,31,0.72)
    ),
    url('../images/hero5.jpg');

    background-size:cover;
    background-position:center;
    text-align:center;
    color:white;
}

.catalog-hero-content{
    max-width:850px;
    margin:auto;
}

.catalog-badge{
    display:inline-flex;
    align-items:center;
    gap:10px;

    padding:12px 24px;

    border-radius:999px;

    background:rgba(255,255,255,0.15);

    backdrop-filter:blur(10px);

    margin-bottom:30px;

    font-size:14px;
    font-weight:600;
    letter-spacing:1px;
    text-transform:uppercase;
}

.catalog-hero h1{
    font-family:'Playfair Display',serif;
    font-size:5rem;
    margin-bottom:24px;
}

.catalog-hero p{
    font-size:1.1rem;
    line-height:1.9;
    color:#ececec;
}

.catalog-items-section{
    padding:110px 0;
}

.polaroid-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(320px,1fr));
    gap:40px;
}

.polaroid-card{
    transform:rotate(-2deg);
    transition:0.4s;
}

.polaroid-card:nth-child(even){
    transform:rotate(2deg);
}

.polaroid-card:hover{
    transform:rotate(0deg) translateY(-12px);
}

.polaroid-inner{
    background:white;

    padding:18px 18px 32px;

    border-radius:6px;

    box-shadow:
    0 20px 40px rgba(0,0,0,0.08),
    0 8px 16px rgba(0,0,0,0.04);

    position:relative;
}

.polaroid-inner::before{
    content:'';

    position:absolute;

    top:-12px;
    left:50%;

    transform:translateX(-50%) rotate(-2deg);

    width:120px;
    height:28px;

    background:rgba(255,248,220,0.7);

    border-left:1px solid rgba(0,0,0,0.05);
    border-right:1px solid rgba(0,0,0,0.05);

    backdrop-filter:blur(2px);
}

.polaroid-image{
    height:370px;
    overflow:hidden;
    background:#eee;
}

.polaroid-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:0.5s;
}

.polaroid-card:hover .polaroid-image img{
    transform:scale(1.08);
}

.polaroid-content{
    padding-top:24px;
    text-align:center;
}

.polaroid-content h3{
    font-family:'Playfair Display',serif;
    color:var(--dark);
    font-size:28px;
    margin-bottom:14px;
}

.polaroid-price{
    display:block;

    color:var(--primary);

    font-size:24px;
    font-weight:700;

    margin-bottom:24px;
}

.polaroid-btn{
    width:100%;
    height:58px;

    border-radius:18px;

    background:var(--primary);
    color:white;

    display:flex;
    align-items:center;
    justify-content:center;

    font-weight:600;

    transition:0.3s;
}

.polaroid-btn:hover{
    background:var(--secondary);
    color:white;
}

.empty-catalog{
    background:white;
    border-radius:32px;
    padding:100px 40px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,0.06);
}

.empty-catalog i{
    font-size:70px;
    color:var(--primary);
    margin-bottom:30px;
}

.empty-catalog h2{
    font-family:'Playfair Display',serif;
    font-size:42px;
    color:var(--dark);
    margin-bottom:18px;
}

.empty-catalog p{
    color:#7d7269;
    font-size:16px;
}

footer{
    background:var(--dark);
    color:white;
    padding:70px 0 30px;
}

.footer-brand{
    font-family:'Playfair Display',serif;
    font-size:2rem;
    margin-bottom:20px;
}

.footer-links a{
    display:block;
    color:#d9d9d9;
    margin-bottom:12px;
    transition:0.3s;
}

.footer-links a:hover{
    color:var(--secondary);
}

.footer-divider{
    width:1px;
    background:rgba(255,255,255,0.2);
}

.developer-link{
    color:var(--secondary);
    font-weight:600;
}

.copyright{
    border-top:1px solid rgba(255,255,255,0.1);
    margin-top:50px;
    padding-top:25px;
    text-align:center;
}

@media(max-width:1200px){

    .polaroid-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:991px){

    .catalog-hero h1{
        font-size:3.8rem;
    }

}

@media(max-width:768px){

    .catalog-items-section{
        padding:80px 0;
    }

    .catalog-hero{
        padding:120px 0 70px;
    }

    .catalog-hero h1{
        font-size:2.8rem;
    }

    .polaroid-grid{
        grid-template-columns:1fr;
    }

    .polaroid-image{
        height:320px;
    }

}

@media(max-width:480px){

    .catalog-hero h1{
        font-size:2.2rem;
    }

    .polaroid-content h3{
        font-size:24px;
    }

}