/* Kitchen Footer Specific Styles */
.kitchen-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    padding: 60px 0 0;
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

/* Remove gap between completed projects and footer */
.projects__two + .kitchen-footer {
    margin-top: 0 !important;
}

.projects__two {
    margin-bottom: 0 !important;
    padding-bottom: 0px !important;
}

/* Override section-padding for projects section when followed by footer */
.projects__two.section-padding {
    padding-bottom: 0px !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

/* Remove default section padding margin for seamless connection */
.section-padding + .kitchen-footer {
    margin-top: 0 !important;
}

/* Ensure no spacing from any parent containers */
.projects__two .container {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Create seamless transition */
body {
    margin: 0;
    padding: 0;
}

/* Ensure all footer text uses Poppins */
.kitchen-footer * {
    font-family: 'Poppins', sans-serif;
}

/* Top border line effect */
.kitchen-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
}

.kitchen-footer .container {
    position: relative;
    z-index: 2;
}

/* Footer Brand Section */
.kitchen-footer .footer-brand {
    margin-bottom: 30px;
    position: relative;
}

.kitchen-footer .footer-logo {
    margin-bottom: 25px;
}

.kitchen-footer .footer-logo .logo-img {
    max-height: 60px;
    width: auto;
    filter: brightness(1.1) contrast(1.05);
    transition: all 0.3s ease;
}

.kitchen-footer .footer-logo .logo-img:hover {
    filter: brightness(1.3) contrast(1.1);
    transform: scale(1.02);
}

.kitchen-footer .footer-description {
    color: #cccccc;
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 15px;
    max-width: 320px;
}

/* Footer Contact Quick */
.kitchen-footer .footer-contact-quick {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.kitchen-footer .contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-size: 14px;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.kitchen-footer .contact-item i {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-size: 14px !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    line-height: 1;
}

/* Ensure FontAwesome solid icons are loaded */
.kitchen-footer .contact-item i.fas {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

/* Enhanced icon rendering */
.kitchen-footer .contact-item i:before {
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
}

.kitchen-footer .contact-item span {
    color: #cccccc !important;
    transition: color 0.3s ease;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.kitchen-footer .contact-item:hover span {
    color: #ffffff !important;
}

.kitchen-footer .contact-item:hover i {
    color: #ffffff !important;
}

/* Footer Sections */
.kitchen-footer .footer-section {
    margin-bottom: 30px;
    position: relative;
}

.kitchen-footer .footer-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.kitchen-footer .footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #ffffff, #cccccc);
    border-radius: 2px;
}

/* Footer Links */
.kitchen-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.kitchen-footer .footer-links li {
    margin-bottom: 12px;
}

.kitchen-footer .footer-links a {
    color: #cccccc;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
    display: block;
}

.kitchen-footer .footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #666666;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.kitchen-footer .footer-links a:hover {
    color: #ffffff;
    padding-left: 20px;
}

.kitchen-footer .footer-links a:hover::before {
    background: #ffffff;
    transform: translateY(-50%) scale(1.3);
}

/* Footer Social */
.kitchen-footer .footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.kitchen-footer .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 18px;
    position: relative;
}

.kitchen-footer .social-link i {
    font-size: 18px !important;
    line-height: 1;
    display: block;
    color: inherit;
    font-weight: 900;
    font-family: "Font Awesome 6 Brands", "Font Awesome 6 Free";
}

/* Ensure FontAwesome brands are loaded */
.kitchen-footer .social-link i.fab {
    font-family: "Font Awesome 6 Brands";
    font-weight: 400;
}

.kitchen-footer .social-link:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    text-decoration: none;
}

/* Screen reader text hidden */
.kitchen-footer .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Fallback text if icons don't load */
.kitchen-footer .social-link::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10px;
    color: transparent;
    pointer-events: none;
}

/* Specific social platform colors on hover */
.kitchen-footer .social-link:hover i.fa-facebook-f {
    color: #1877f2 !important;
}

.kitchen-footer .social-link:hover i.fa-instagram {
    color: #e4405f !important;
}

.kitchen-footer .social-link:hover i.fa-youtube {
    color: #ff0000 !important;
}

.kitchen-footer .social-link:hover i.fa-linkedin-in {
    color: #0077b5 !important;
}

.kitchen-footer .social-link:hover i.fa-whatsapp {
    color: #25d366 !important;
}

/* Debug styles - make icons more visible */
.kitchen-footer .social-link i:before {
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
}

/* Footer Bottom */
.kitchen-footer .footer-bottom {
    margin-top: 50px;
    padding-top: 30px;
    padding-bottom: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.kitchen-footer .copyright-text {
    color: #cccccc;
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

.kitchen-footer .divider {
    color: #666666;
    margin: 0 10px;
}

.kitchen-footer .footer-bottom-links {
    display: flex;
    justify-content: flex-end;
    gap: 25px;
    flex-wrap: wrap;
}

.kitchen-footer .footer-bottom-links a {
    color: #cccccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.kitchen-footer .footer-bottom-links a:hover {
    color: #ffffff;
}

/* Background Elements */
.kitchen-footer .footer-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.kitchen-footer .bg-shape-1 {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.kitchen-footer .bg-shape-2 {
    position: absolute;
    bottom: 30%;
    left: 5%;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(255,255,255,0.02) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

.kitchen-footer .bg-shape-3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.01) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Special animation for bg-shape-2 */
@keyframes float {
    0%, 100% { 
        transform: translateY(0px); 
    }
    50% { 
        transform: translateY(-10px); 
    }
}

/* Responsive Design */

/* Laptop/Desktop screens (1024px to 1440px) */
@media (min-width: 1024px) and (max-width: 1440px) {
    .kitchen-footer {
        padding: 70px 0 0;
    }
    
    .kitchen-footer .container {
        max-width: 1200px;
        padding: 0 30px;
    }
    
    .kitchen-footer .footer-brand {
        margin-bottom: 25px;
    }
    
    .kitchen-footer .footer-description {
        font-size: 14px;
        line-height: 1.6;
        max-width: 300px;
        margin-bottom: 25px;
    }
    
    .kitchen-footer .footer-title {
        font-size: 17px;
        margin-bottom: 20px;
    }
    
    .kitchen-footer .footer-links a {
        font-size: 13px;
        padding-left: 12px;
    }
    
    .kitchen-footer .contact-item {
        font-size: 13px;
        gap: 10px;
    }
    
    .kitchen-footer .contact-item i {
        width: 16px;
        height: 16px;
        font-size: 13px !important;
    }
    
    .kitchen-footer .social-link {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
    
    .kitchen-footer .footer-bottom {
        padding-top: 25px;
        margin-top: 40px;
    }
    
    .kitchen-footer .copyright-text {
        font-size: 13px;
    }
    
    .kitchen-footer .footer-bottom-links a {
        font-size: 13px;
    }
    
    /* Adjust background shapes for laptop screens */
    .kitchen-footer .bg-shape-1 {
        width: 100px;
        height: 100px;
        top: 15%;
        right: 8%;
    }
    
    .kitchen-footer .bg-shape-2 {
        width: 70px;
        height: 70px;
        bottom: 25%;
        left: 3%;
    }
    
    .kitchen-footer .bg-shape-3 {
        width: 160px;
        height: 160px;
    }
}

/* Large Desktop screens (1441px and above) */
@media (min-width: 1441px) {
    .kitchen-footer .container {
        max-width: 1320px;
    }
    
    .kitchen-footer .footer-description {
        max-width: 340px;
        font-size: 15px;
    }
    
    .kitchen-footer .footer-title {
        font-size: 18px;
    }
    
    .kitchen-footer .footer-links a {
        font-size: 14px;
    }
    
    .kitchen-footer .contact-item {
        font-size: 14px;
    }
}

/* Tablet screens */
@media (max-width: 992px) {
    .kitchen-footer {
        padding: 50px 0 0;
    }
    
    .kitchen-footer .footer-title {
        font-size: 16px;
        margin-bottom: 18px;
    }
    
    .kitchen-footer .footer-description {
        font-size: 14px;
        margin-bottom: 22px;
        max-width: 100%;
    }
    
    .kitchen-footer .footer-bottom {
        text-align: center;
        padding-top: 25px;
        margin-top: 35px;
    }
    
    .kitchen-footer .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .kitchen-footer {
        padding: 40px 0 20px;
    }
    
    .kitchen-footer .footer-title {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .kitchen-footer .footer-description {
        font-size: 13px;
        margin-bottom: 20px;
    }
    
    .kitchen-footer .contact-item {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .kitchen-footer .footer-links a {
        font-size: 13px;
    }
    
    .kitchen-footer .footer-social {
        justify-content: center;
        margin-top: 15px;
    }
    
    .kitchen-footer .social-link {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .kitchen-footer .footer-bottom {
        text-align: center;
        padding-top: 20px;
        margin-top: 30px;
    }
    
    .kitchen-footer .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
        gap: 15px;
    }
    
    .kitchen-footer .copyright-text {
        font-size: 12px;
    }
    
    .kitchen-footer .footer-bottom-links a {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .kitchen-footer {
        padding: 30px 0 15px;
    }
    
    .kitchen-footer .footer-bottom-links {
        flex-direction: column;
        gap: 8px;
    }
    
    .kitchen-footer .bg-shape-1,
    .kitchen-footer .bg-shape-2 {
        display: none;
    }
}

/* Additional laptop-specific spacing adjustments */
@media (min-width: 1024px) and (max-width: 1440px) {
    /* Override section padding to eliminate gaps before footer */
    .section-padding {
        padding-bottom: 0 !important;
    }
    
    /* Ensure no bottom margin on sections before footer */
    .section-padding:last-of-type {
        margin-bottom: 0 !important;
    }
    
    /* Override specific sections that might have bottom margins */
    .completed-projects,
    .portfolio-section,
    .services-section,
    .about-section {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    
    /* Ensure footer starts immediately after previous section */
    .kitchen-footer {
        margin-top: 0 !important;
    }
}
