* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #23514D;
    --secondary: #232f51;
    --cream: #FFFDF2;
    --darkbrown: #252103;
    --green-light: #23514D;
}

.footer-body {
    background-color: var(--cream);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Footer Styles */
.paddy-villa-footer {
    background: var(--primary);
    color: var(--cream);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 -15px 50px rgba(0, 0, 0, 0.3);
}

.paddy-villa-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--green-light);
    box-shadow: 0 2px 15px rgba(112, 175, 133, 0.5);
}

.paddy-villa-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 253, 242, 0.03), 
        transparent);
    animation: wave-slide 8s ease-in-out infinite;
}

@keyframes wave-slide {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

.paddy-footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px 60px;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.paddy-footer-brand {
    padding-right: 30px;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.paddy-villa-title {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    padding: 8px 0;
}

.paddy-villa-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--green-light), var(--cream));
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(112, 175, 133, 0.6);
}

.paddy-villa-title:hover::before {
    width: 100%;
}

.footer-logo-green {
    font-family: 'Amatic SC', cursive;
    color: var(--cream);
    font-size: 38px;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 
        0 0 10px rgba(255, 253, 242, 0.4),
        0 0 20px rgba(112, 175, 133, 0.3),
        2px 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.footer-logo-nest {
    font-family: 'Amatic SC', cursive;
    color: var(--cream);
    font-size: 38px;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 
        0 0 10px rgba(255, 253, 242, 0.4),
        0 0 20px rgba(112, 175, 133, 0.3),
        2px 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.footer-logo-living {
    font-family: 'Amatic SC', cursive;
    color: var(--cream);
    font-size: 38px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-left: 8px;
    text-shadow: 
        0 0 10px rgba(255, 253, 242, 0.4),
        0 0 20px rgba(112, 175, 133, 0.3),
        2px 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.footer-logo-leaf {
    display: none;
}

.paddy-villa-title:hover .footer-logo-green {
    color: var(--cream);
    text-shadow: 
        0 0 20px rgba(255, 253, 242, 0.8),
        0 0 40px rgba(255, 253, 242, 0.5),
        0 0 60px rgba(255, 253, 242, 0.3),
        2px 2px 6px rgba(0, 0, 0, 0.4);
    transform: translateY(-3px) scale(1.05);
}

.paddy-villa-title:hover .footer-logo-nest {
    text-shadow: 
        0 0 15px rgba(255, 253, 242, 0.9),
        0 0 30px rgba(255, 253, 242, 0.6),
        2px 2px 6px rgba(0, 0, 0, 0.4);
    transform: translateY(-3px) scale(1.05);
}

.paddy-villa-title:hover .footer-logo-living {
    color: var(--cream);
    text-shadow: 
        0 0 20px rgba(255, 253, 242, 0.8),
        0 0 40px rgba(255, 253, 242, 0.5),
        0 0 60px rgba(255, 253, 242, 0.3),
        2px 2px 6px rgba(0, 0, 0, 0.4);
    transform: translateY(-3px) scale(1.05);
}

.paddy-villa-title:hover {
    transform: translateX(8px);
}

.paddy-villa-tagline {
    font-size: 14px;
    line-height: 1.7;
    color: var(--cream);
    opacity: 0.8;
    margin-bottom: 25px;
    max-width: 350px;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.paddy-social-links {
    display: flex;
    gap: 12px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.paddy-social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--green-light);
    color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(112, 175, 133, 0.3);
    position: relative;
    overflow: hidden;
}

.paddy-social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.6s ease;
    transform: translate(-50%, -50%);
}

.paddy-social-link:hover::before {
    width: 120%;
    height: 120%;
}

.paddy-social-link:hover {
    background: var(--cream);
    color: var(--cream);
    transform: translateY(-8px) scale(1.15) rotate(10deg);
    box-shadow: 0 12px 35px rgba(112, 175, 133, 0.6);
    border-color: var(--green-light);
}

.paddy-social-link i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.paddy-social-link:hover i {
    transform: scale(1.2) rotate(-10deg);
}

/* Footer Sections */
.paddy-footer-section {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 1s ease-out;
    animation-fill-mode: both;
}

.paddy-footer-section:nth-child(2) {
    animation-delay: 0.2s;
}

.paddy-footer-section:nth-child(3) {
    animation-delay: 0.4s;
}

.paddy-footer-section:nth-child(4) {
    animation-delay: 0.6s;
}

.paddy-footer-section:hover {
    transform: translateY(-8px);
}

.paddy-footer-heading {
    color: var(--cream);
    margin-bottom: 28px;
    font-size: 17px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.paddy-footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--green-light);
    border-radius: 2px;
    animation: heading-pulse 2s ease-in-out infinite;
}

@keyframes heading-pulse {
    0%, 100% {
        width: 50px;
        opacity: 1;
    }
    50% {
        width: 70px;
        opacity: 0.7;
    }
}

.paddy-footer-links {
    list-style: none;
}

.paddy-footer-link {
    margin-bottom: 10px;
}

.paddy-footer-link a {
    color: var(--cream);
    opacity: 0.85;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    position: relative;
    font-size: 14px;
    padding-left: 20px;
    font-weight: 400;
}

.paddy-footer-link a::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--green-light);
    font-size: 14px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0.7;
}

.paddy-footer-link a::after {
    content: '';
    position: absolute;
    left: 20px;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--green-light);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.paddy-footer-link a:hover {
    opacity: 1;
    padding-left: 25px;
    color: var(--cream);
    transform: translateX(3px);
}

.paddy-footer-link a:hover::before {
    left: 5px;
    color: var(--green-light);
    transform: scale(1.3);
    opacity: 1;
}

.paddy-footer-link a:hover::after {
    width: calc(100% - 25px);
}

.paddy-contact-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.paddy-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--cream);
    opacity: 0.9;
    font-size: 14px;
    line-height: 1.6;
    padding: 10px 12px;
    border-radius: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.paddy-contact-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--green-light);
    transform: scaleY(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.paddy-contact-item:hover {
    opacity: 1;
    background: rgba(255, 253, 242, 0.15);
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(112, 175, 133, 0.2);
}

.paddy-contact-item:hover::before {
    transform: scaleY(1);
}

.paddy-contact-item i {
    color: var(--cream); /* make icons white/cream to improve contrast */
    font-size: 16px;
    margin-top: 2px;
    min-width: 18px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    filter: drop-shadow(0 2px 4px rgba(112, 175, 133, 0.3));
}

.paddy-contact-item:hover i {
    color: var(--cream);
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 3px 6px rgba(112, 175, 133, 0.5));
}

/* Email image styling and minor protections */
.email-img {
    display: inline-block;
    max-width: 220px; /* adjust as needed */
    height: auto;
    vertical-align: middle;
    margin-left: 6px;
    cursor: pointer;
    user-select: none;
}

/* No empty rules; accessibility preserved via alt attribute on the image */

.paddy-footer-bottom {
    background: var(--darkbrown);
    padding: 30px 0;
    border-top: 2px solid rgba(112, 175, 133, 0.3);
    position: relative;
}

.paddy-footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--green-light);
    opacity: 0.5;
    animation: line-shimmer 3s ease-in-out infinite;
}

@keyframes line-shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.paddy-footer-bottom-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.paddy-footer-bottom p {
    color: var(--cream);
    opacity: 0.85;
    font-size: 14px;
    text-align: center;
    letter-spacing: 0.5px;
    animation: fadeIn 1.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 0.85; }
}

.paddy-footer-legal {
    display: flex;
    gap: 25px;
}

.paddy-footer-legal a {
    color: var(--cream);
    opacity: 0.7;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.paddy-footer-legal a:hover {
    opacity: 1;
    text-decoration: underline;
}

@media (max-width: 992px) {
    .paddy-footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .paddy-footer-brand {
        grid-column: span 2;
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .paddy-footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 0 20px 40px;
    }
    .paddy-footer-brand {
        grid-column: span 1;
        text-align: center;
    }
    .paddy-social-links {
        justify-content: center;
    }
    .paddy-villa-title {
        font-size: 28px;
    }
    .paddy-footer-bottom-content {
        flex-direction: column;
        text-align: center;
        padding: 0 20px;
    }
    .paddy-footer-legal {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .paddy-villa-footer {
        padding: 40px 0 0;
    }
    .paddy-footer-container {
        gap: 30px;
    }
    .paddy-villa-title {
        font-size: 24px;
    }
    .paddy-social-link {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}
