
/* Footer Section */
.main-footer {
    position: relative;
    background: #1a1a1a;
    color: #fff;
    padding: 4rem 0 2rem;
    overflow: hidden;
}

/* Background Pattern */
.main-footer .footer-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, transparent 25%, rgba(255,255,255,0.02) 25%, rgba(255,255,255,0.02) 50%, transparent 50%, transparent 75%, rgba(255,255,255,0.02) 75%),
        linear-gradient(-45deg, transparent 25%, rgba(255,255,255,0.02) 25%, rgba(255,255,255,0.02) 50%, transparent 50%, transparent 75%, rgba(255,255,255,0.02) 75%);
    background-size: 60px 60px;
    opacity: 0.5;
}

/* Decorative Lights */
.main-footer .footer-lights {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.main-footer .light {
    position: absolute;
    width: 60px;
    height: 80px;
    background: linear-gradient(to bottom, #333 0%, #555 20%, #c7a26c 50%, #e6bc7a 100%);
    border-radius: 30px 30px 0 0;
    opacity: 0.8;
}

.main-footer .light::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 30px;
    background: #333;
}

.main-footer .light::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(ellipse closest-side, rgba(199, 162, 108, 0.3) 0%, transparent 100%);
    border-radius: 50%;
}

.main-footer .light-1 {
    top: 10%;
    left: 5%;
    animation: swing 3s ease-in-out infinite;
}

.main-footer .light-2 {
    top: 5%;
    left: 15%;
    animation: swing 3s ease-in-out infinite 0.5s;
}

.main-footer .light-3 {
    top: 10%;
    right: 15%;
    animation: swing 3s ease-in-out infinite 1s;
}

.main-footer .light-4 {
    top: 5%;
    right: 5%;
    animation: swing 3s ease-in-out infinite 1.5s;
}

@keyframes swing {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(2deg); }
    75% { transform: rotate(-2deg); }
}

/* Logo */
.main-footer .footer-logo {
    margin-bottom: 3rem;
    z-index: 10;
    position: relative;
}

.main-footer .footer-logo img {
    max-height: 80px;
    filter: brightness(1.2);
}

/* Newsletter Section */
.main-footer .newsletter-section {
    margin-bottom: 3rem;
    z-index: 10;
    position: relative;
}

.main-footer .newsletter-title {
    font-size: 1.5rem;
    font-weight: 400;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 2rem;
}

.main-footer .newsletter-form .input-group {
    max-width: 600px;
    margin: 0 auto;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.main-footer .newsletter-input {
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    background: #fff;
    color: #333;
    border-radius: 0;
}

.main-footer .newsletter-input::placeholder {
    color: #999;
}

.main-footer .newsletter-input:focus {
    outline: none;
    box-shadow: none;
}

.main-footer .newsletter-btn {
    background: #a68b5b;
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-radius: 0;
}

.main-footer .newsletter-btn:hover {
    background: #8b7355;
    transform: translateX(-2px);
}

/* Footer Navigation */
.main-footer .footer-nav {
    margin-bottom: 3rem;
    z-index: 10;
    position: relative;
    display: block;
}

.main-footer .nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 3rem;
}

.main-footer .nav-item {
    margin: 0;
}

.main-footer .nav-link {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    padding: 0;
}

.main-footer .nav-link:hover,
.main-footer .nav-link.active {
    color: #c7a26c;
}

.main-footer .nav-link.active {
    color: #c7a26c;
}

/* Footer Bottom */
.main-footer .footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    margin-top: 2rem;
    z-index: 10;
    position: relative;
}

.main-footer .copyright p {
    color: #999;
    font-size: 0.9rem;
    margin: 0;
}

.main-footer .social-links {
    display: flex;
    gap: 1rem;
}

.main-footer .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #333;
    color: #ccc;
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.main-footer .social-link:hover {
    background: #c7a26c;
    color: #fff;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (min-width: 1400px) {
    .main-footer {
        padding: 5rem 0 2.5rem;
    }
    
    .main-footer .newsletter-title {
        font-size: 1.75rem;
    }
    
    .main-footer .nav-link {
        font-size: 1rem;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .main-footer {
        padding: 3.5rem 0 2rem;
    }
    
    .main-footer .newsletter-title {
        font-size: 1.4rem;
    }
    
    .main-footer .nav-list {
        gap: 2.5rem;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .main-footer {
        padding: 3rem 0 2rem;
    }
    
    .main-footer .light {
        width: 45px;
        height: 60px;
    }
    
    .main-footer .newsletter-title {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    
    .main-footer .nav-list {
        gap: 2rem;
    }
    
    .main-footer .nav-link {
        font-size: 1rem;
    }
    
    .main-footer .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 767px) and (min-width: 576px) {
  
    .main-footer {
        padding: 2.5rem 0 1.5rem;
    }
    
    .main-footer .light {
        width: 35px;
        height: 45px;
    }
    
    .main-footer .newsletter-title {
        font-size: 1.2rem;
        margin-bottom: 1.25rem;
    }
    
    .main-footer .newsletter-input,
    .main-footer .newsletter-btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .main-footer .nav-list {
        gap: 1.5rem;
        justify-content: center;
    }
    
    .main-footer .nav-link {
        font-size: 0.95rem;
    }
    
    .main-footer .footer-logo img {
        max-height: 60px;
    }
}

@media (max-width: 575px) and (min-width: 480px) {
    .main-footer {
        padding: 2rem 0 1.25rem;
    }
    
    .main-footer .light {
        width: 25px;
        height: 35px;
    }
    
    .main-footer .newsletter-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .main-footer .newsletter-input,
    .main-footer .newsletter-btn {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
    
    .main-footer .nav-list {
        gap: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .main-footer .nav-link {
        font-size: 0.9rem;
    }
    
    .main-footer .social-link {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}
@media(max-width:768px){
      .main-footer .footer-nav{display:none !important}
}
@media (max-width: 479px) {
    .main-footer {
        padding: 1.5rem 0 1rem;
    }
    
    .main-footer .light {
        display: none;
    }
    
    .main-footer .newsletter-title {
        font-size: 1rem;
        margin-bottom: 0.875rem;
        padding: 0 1rem;
    }
    
    .main-footer .newsletter-form .input-group {
        /* flex-direction: column; */
        border-radius: 10px;
        margin: 0 0rem;
    }
    
    .main-footer .newsletter-input {
        border-radius: 10px 10px 0 0;
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }
    
    .main-footer .newsletter-btn {
        border-radius: 0 0 10px 10px;
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
        width: auto !important;
    }
    
    .main-footer .nav-list {
        gap: 0.75rem;
        flex-direction: column;
        text-align: center;
    }
    
    .main-footer .nav-link {
        font-size: 0.85rem;
        padding: 0.5rem;
    }
    
    .main-footer .footer-logo img {
        max-height: 50px;
    }
    
    .main-footer .social-link {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .main-footer .copyright p {
        font-size: 0.8rem;
        text-align: center;
    }
}

@media (max-width: 360px) {
    .main-footer .newsletter-title {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }
    
    .main-footer .newsletter-form .input-group {
        margin: 0 0.5rem;
    }
    
    .main-footer .nav-link {
        font-size: 0.8rem;
    }
    
    .main-footer .footer-logo img {
        max-height: 40px;
    }
    
    .main-footer .social-link {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .main-footer .copyright p {
        font-size: 0.75rem;
    }
}