* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
    width: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#main {
    height: 100%;
    width: 100%;
}

/* ===== Animations & Keyframes ===== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== Navigation ===== */
#nav {
    display: flex;
    width: 100%;
    height: 70px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    align-items: center;
    animation: fadeInDown 0.5s ease;
}

#nav1 {
    height: 100%;
    width: 70%;
    background-color: #fff;
    display: flex;
    align-items: center;
    padding: 0 40px;
    gap: 50px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.logo-icon {
    font-size: 32px;
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #1a1a1a 0%, rgb(175, 150, 4) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.logo:hover {
    color: rgb(175, 150, 4);
    transform: scale(1.05);
}

.logo:hover .logo-text {
    background: linear-gradient(135deg, rgb(175, 150, 4) 0%, #1a1a1a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#nav1 ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 35px;
    list-style-type: none;
    margin: 0;
}

#nav1 ul li a {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    letter-spacing: 0.5px;
}

#nav1 ul li a:hover {
    color: rgb(175, 150, 4);
    border-bottom-color: rgb(175, 150, 4);
}

a {
    text-decoration: none;
    color: rgb(175, 150, 4);
}

#nav2 {
    background-color: #fff;
    width: 30%;
    height: 100%;
    align-items: center;
    display: flex;
    justify-content: flex-end;
    padding: 0 40px;
    gap: 25px;
}

.nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #333;
    transition: all 0.3s ease;
    position: relative;
}

.nav-icon:hover {
    color: rgb(175, 150, 4);
    transform: scale(1.15);
}

.cart-icon {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: rgb(175, 150, 4);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

.nav-link {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    background-color: rgb(175, 150, 4);
    color: white;
    transform: translateY(-2px);
}

/* ===== Hero Section ===== */
#main2 {
    background-image: url(image1.png);
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#box {
    height: 80%;
    width: 65%;
    border: 10px white solid;
    margin-left: -160px;
    display: flex;
    flex-direction: column;
}

#b1 {
    margin-left: -100px;
}

#b2 {
    margin-left: -230px;
    margin-top: 310px;
}

#h1,
#h2,
#h3 {
    height: 33.35%;
    width: 100%;
}

h1 {
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 50px;
}

h2 {
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -10%;
    font-size: 50px;
}

h3 {
    color: white;
    display: flex;
    justify-content: center;
    margin-top: 5%;
}

#but {
    display: flex;
    margin-top: 10px;
}

#shop {
    padding: 20px;
    height: 30%;
    width: 20%;
    background-color: transparent;
    border: white 1px solid;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 40%;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 1px;
    animation: fadeIn 0.8s ease;
}

#shop:hover {
    background-color: rgb(175, 150, 4);
    border-color: rgb(175, 150, 4);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(175, 150, 4, 0.4);
}

/* ===== Products Section ===== */
p {
    display: block;
    color: #555;
    margin-left: 0;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.products-section {
    padding: 120px 50px;
    background-color: #fff;
    width: 100%;
    animation: fadeIn 0.8s ease;
}

.products-header {
    text-align: center;
    margin-bottom: 25px;
}

.products-header h2 {
    font-size: 56px;
    color: #1a1a1a;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 15px;
    line-height: 1.1;
}

.products-header p {
    font-size: 16px;
    color: rgb(175, 150, 4);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 0;
}

.products-intro {
    text-align: center;
    margin-bottom: 80px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.products-intro p {
    font-size: 17px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 80px;
}

.product-card {
    background-color: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    animation: fadeInUp 0.6s ease backwards;
}

.product-card:nth-child(1) {
    animation-delay: 0.1s;
}

.product-card:nth-child(2) {
    animation-delay: 0.2s;
}

.product-card:nth-child(3) {
    animation-delay: 0.3s;
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(175, 150, 4, 0.15);
    background-color: #fff;
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 300px;
    background-color: #f0f0f0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgb(175, 150, 4);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 2;
}

.quick-add {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%) translateY(60px);
    background-color: rgb(175, 150, 4);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    z-index: 3;
}

.product-card:hover .quick-add {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.quick-add:hover {
    background-color: #a89340;
    transform: translateX(-50%) translateY(0) scale(1.1);
}

.product-info {
    padding: 30px 25px;
}

.product-info h3 {
    font-size: 20px;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.product-card:hover .product-info h3 {
    color: rgb(175, 150, 4);
}

.product-description {
    font-size: 14px;
    color: #999;
    margin-bottom: 20px !important;
    line-height: 1.6;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 24px;
    color: rgb(175, 150, 4);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.products-footer {
    display: flex;
    justify-content: center;
}

.view-btn {
    padding: 18px 50px;
    background-color: transparent;
    border: 2px solid rgb(175, 150, 4);
    color: rgb(175, 150, 4);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-transform: uppercase;
    animation: fadeInUp 0.6s ease 0.5s backwards;
}

.view-btn:hover {
    background-color: rgb(175, 150, 4);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(175, 150, 4, 0.3);
}

/* ===== About Section ===== */
.about-section {
    padding: 120px 50px;
    background-color: #fff;
    width: 100%;
    animation: fadeIn 0.8s ease;
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 48px;
    color: #1a1a1a;
    margin-bottom: 40px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.about-content p {
    font-size: 17px;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.8;
    font-weight: 400;
    letter-spacing: 0.3px;
    text-align: left;
    display: block;
    margin-top: 0;
}

.about-stats {
    display: flex;
    gap: 80px;
    margin-top: 60px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    min-width: 150px;
    animation: fadeInUp 0.6s ease backwards;
}

.stat-item:nth-child(1) {
    animation-delay: 0.1s;
}

.stat-item:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-item:nth-child(3) {
    animation-delay: 0.3s;
}

.stat-item:hover {
    background-color: #fafafa;
    transform: scale(1.05);
}

.stat-item h3 {
    font-size: 44px;
    color: rgb(175, 150, 4);
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.stat-item p {
    color: #777;
    font-size: 15px;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ===== Services Section ===== */
.services-section {
    padding: 100px 50px;
    background: linear-gradient(135deg, #fafafa 0%, #f5f0e8 100%);
    width: 100%;
    animation: fadeIn 0.8s ease;
}

.services-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.services-header h2 {
    font-size: 48px;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.services-header p {
    font-size: 18px;
    color: rgb(175, 150, 4);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

.services-grid {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
    flex-wrap: wrap;
}

.service-card {
    padding: 50px 35px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    width: 30%;
    min-width: 280px;
    background-color: white;
    animation: fadeInUp 0.6s ease backwards;
}

.service-card:nth-child(1) {
    animation-delay: 0.1s;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:nth-child(3) {
    animation-delay: 0.3s;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(175, 150, 4, 0.2);
    background-color: #fafafa;
}

.service-card i {
    font-size: 56px;
    color: rgb(175, 150, 4);
    margin-bottom: 30px;
    display: block;
    transition: transform 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.15);
}

.service-card h3 {
    font-size: 20px;
    color: #1a1a1a;
    margin-bottom: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.service-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.9;
    margin: 0;
}

/* ===== Contact Section ===== */
.contact-section {
    padding: 100px 50px;
    background-color: #f5f0e8;
    width: 100%;
    animation: fadeIn 0.8s ease;
}

.contact-container {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

.contact-container h2 {
    font-size: 48px;
    color: #1a1a1a;
    margin-bottom: 25px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.contact-container p {
    color: #666;
    font-size: 17px;
    margin-bottom: 50px;
    line-height: 1.8;
    font-weight: 400;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 18px 20px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background-color: #fff;
    color: #333;
    font-weight: 400;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #aaa;
    font-weight: 400;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgb(175, 150, 4);
    box-shadow: 0 0 0 3px rgba(175, 150, 4, 0.1);
}

.submit-btn {
    padding: 18px 40px;
    background-color: #1a1a1a;
    color: #fff;
    border: 2px solid #1a1a1a;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: rgb(175, 150, 4);
    border-color: rgb(175, 150, 4);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(175, 150, 4, 0.3);
}

/* ===== Footer ===== */
#pg3 {
    height: auto;
    width: 100%;
    padding: 80px 50px;
    background-color: #1a1a1a;
    color: #fff;
    margin-top: 0;
}

#logo {
    color: rgb(175, 150, 4);
    margin-left: 0;
    display: flex;
    gap: 25px;
    justify-content: center;
    margin-bottom: 40px;
}

#logo a {
    color: rgb(175, 150, 4);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 28px;
}

#logo a:hover {
    transform: scale(1.2);
    color: #fff;
}

#text {
    display: flex;
    justify-content: center;
    height: auto;
    width: 100%;
    margin-top: 0;
    color: rgb(175, 150, 4);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 25px;
}

.copyright-text {
    text-align: center;
    color: #aaa;
    font-size: 14px;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

.copyright-text p {
    margin-bottom: 0 !important;
    color: #aaa;
    font-weight: 400;
}

/* ===== Responsive Design ===== */

@media (max-width: 1024px) {
    #nav {
        height: auto;
    }

    #nav1 {
        width: 100%;
        padding: 15px 30px;
        gap: 30px;
    }

    #nav1 ul {
        gap: 20px;
        margin-left: 0;
    }

    #nav1 ul li a {
        font-size: 13px;
    }

    #nav2 {
        width: 100%;
        justify-content: center;
        padding: 15px 30px;
        gap: 20px;
    }

    .logo-text {
        font-size: 18px;
    }

    #shop {
        width: 30%;
    }

    .service-card {
        width: 45%;
    }

    .about-stats {
        gap: 40px;
    }

    .about-section,
    .services-section,
    .contact-section,
    .products-section {
        padding: 80px 40px;
    }

    .products-grid {
        gap: 40px;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .products-header h2 {
        font-size: 44px;
    }

    .products-intro {
        margin-bottom: 60px;
    }

    .product-info {
        padding: 25px 20px;
    }
}

@media (max-width: 768px) {
    #nav {
        flex-wrap: wrap;
        height: auto;
    }

    #nav1 {
        width: 100%;
        padding: 15px 20px;
        gap: 20px;
        border-bottom: 1px solid #ddd;
    }

    .logo-text {
        font-size: 16px;
        letter-spacing: 1px;
    }

    .logo-icon {
        font-size: 24px;
    }

    #nav1 ul {
        gap: 12px;
        flex-wrap: wrap;
    }

    #nav1 ul li a {
        font-size: 12px;
        padding: 6px 0;
    }

    #nav2 {
        width: 100%;
        justify-content: space-around;
        padding: 12px 20px;
        gap: 15px;
    }

    .nav-link {
        font-size: 13px;
        padding: 8px 16px;
    }

    .nav-icon {
        font-size: 20px;
    }

    #main2 {
        height: auto;
        min-height: 400px;
        padding: 20px;
    }

    #b1,
    #b2 {
        display: none;
    }

    #box {
        width: 100%;
        height: auto;
        margin-left: 0;
        border: none;
    }

    h1,
    h2 {
        font-size: 36px;
    }

    h3 {
        font-size: 16px;
    }

    #shop {
        width: 40%;
        padding: 15px;
        height: auto;
        margin-left: 30%;
    }

    .about-section,
    .services-section,
    .contact-section,
    .products-section {
        padding: 60px 20px;
    }

    .about-content h2,
    .services-header h2,
    .contact-container h2,
    .products-header h2 {
        font-size: 32px;
        margin-bottom: 25px;
    }

    .about-content p,
    .contact-container p,
    .products-intro p {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .service-card {
        width: 100%;
        padding: 40px 25px;
    }

    .service-card h3 {
        font-size: 18px;
    }

    .service-card p {
        font-size: 14px;
        line-height: 1.7;
    }

    .about-stats {
        flex-direction: column;
        gap: 30px;
    }

    .stat-item h3 {
        font-size: 36px;
    }

    .contact-form {
        gap: 16px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 15px 18px;
        font-size: 14px;
    }

    .submit-btn {
        padding: 15px 35px;
        font-size: 14px;
    }

    #logo {
        margin-left: 0;
        justify-content: center;
    }

    p {
        margin-left: 0;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-image {
        height: 250px;
    }

    .products-intro {
        margin-bottom: 50px;
    }

    .view-btn {
        padding: 15px 40px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    #nav {
        flex-direction: column;
    }

    #nav1 {
        width: 100%;
        padding: 12px 15px;
        gap: 15px;
    }

    .logo {
        gap: 8px;
    }

    .logo-icon {
        font-size: 24px;
    }

    .logo-text {
        font-size: 14px;
        letter-spacing: 1px;
    }

    #nav1 ul {
        gap: 10px;
        flex-wrap: wrap;
    }

    #nav1 ul li a {
        font-size: 11px;
    }

    #nav2 {
        width: 100%;
        justify-content: space-around;
        padding: 10px 15px;
        border-top: 1px solid #ddd;
    }

    .nav-icon {
        font-size: 18px;
    }

    .nav-link {
        font-size: 12px;
        padding: 8px 12px;
    }

    #main2 {
        min-height: 300px;
        padding: 15px;
    }

    h1,
    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 14px;
    }

    #shop {
        width: 60%;
        margin-left: 20%;
        padding: 12px;
    }

    .about-content p,
    .contact-container p,
    .products-intro p {
        font-size: 14px;
        margin-bottom: 25px;
        line-height: 1.7;
    }

    .about-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-item h3 {
        font-size: 32px;
    }

    .stat-item p {
        font-size: 13px;
    }

    .service-card {
        width: 100%;
        padding: 35px 20px;
    }

    .service-card i {
        font-size: 44px;
        margin-bottom: 20px;
    }

    .service-card h3 {
        font-size: 17px;
    }

    .service-card p {
        font-size: 13px;
        line-height: 1.7;
    }

    .contact-form {
        gap: 14px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 14px 16px;
        font-size: 13px;
    }

    .submit-btn {
        padding: 14px 30px;
        font-size: 13px;
        margin-top: 8px;
    }

    .products-section {
        padding: 60px 15px;
    }

    .products-header h2 {
        font-size: 28px;
    }

    .products-header p {
        font-size: 12px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 50px;
    }

    .product-image {
        height: 220px;
    }

    .product-card:hover {
        transform: translateY(-10px);
    }

    .product-info {
        padding: 20px 15px;
    }

    .product-info h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .product-description {
        font-size: 12px;
        margin-bottom: 15px !important;
    }

    .price {
        font-size: 20px;
    }

    .quick-add {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .view-btn {
        padding: 12px 30px;
        font-size: 12px;
    }

    .products-footer {
        display: flex;
        justify-content: center;
    }
}
