/**
 * Star Inn Suites & Retreat - Footer Styles
 *
 * This file contains styles specific to the footer component.
 */

/* ===== Footer ===== */
.footer {
    background: linear-gradient(180deg, var(--navy-900), var(--navy-950));
    padding-top: 4rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(212, 169, 50, 0.1);
}

@media (min-width: 768px) {
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-top {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

.footer-brand img {
    height: 90px;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    background: rgba(212, 169, 50, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-500);
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--gold-500);
    color: var(--navy-950);
}

.footer-title {
    font-weight: 600;
    margin-bottom: 1.25rem;
    letter-spacing: 0.05em;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--gold-400);
}

.footer-newsletter p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.footer-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-newsletter-input {
    padding: 0.75rem 1rem;
    background: rgba(212, 169, 50, 0.1);
    border: 1px solid rgba(212, 169, 50, 0.2);
    border-radius: 0.5rem;
    color: #fff;
    font-size: 0.9rem;
}

.footer-newsletter-input:focus {
    outline: none;
    border-color: var(--gold-500);
}

.footer-newsletter-btn {
    padding: 0.75rem;
    background: var(--gradient-gold);
    color: var(--navy-950);
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s;
}

.footer-newsletter-btn:hover {
    transform: translateY(-2px);
}

.footer-apps {
    margin-top: 1.5rem;
}

.footer-apps-title {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.75rem;
}

.footer-app-btns {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer-app-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: #000;
    border-radius: 0.4rem;
    transition: all 0.3s;
}

.footer-app-btn:hover {
    background: #222;
}

.footer-app-btn i {
    font-size: 1.25rem;
}

.footer-app-btn span {
    font-size: 0.7rem;
}

.footer-middle {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(212, 169, 50, 0.1);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: rgba(212, 169, 50, 0.05);
    border: 1px solid rgba(212, 169, 50, 0.15);
    border-radius: 0.5rem;
}

.trust-badge i {
    font-size: 1.5rem;
    color: var(--gold-500);
}

.trust-badge span {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
}

.footer-payments {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(212, 169, 50, 0.1);
}

.footer-payments-title {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.payment-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.payment-icons img {
    height: 28px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.payment-icons img:hover {
    opacity: 1;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--gold-400);
}

/* ===== Newsletter Section ===== */
.newsletter-section {
    background: var(--gradient-gold);
    position: relative;
    padding: 4rem 0;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.newsletter-content {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content .section-label {
    color: var(--navy-950);
}

.newsletter-content .section-label::before,
.newsletter-content .section-label::after {
    background: var(--navy-950);
}

.newsletter-content .section-title {
    color: var(--navy-950);
}

.newsletter-content p {
    color: rgba(13, 25, 41, 0.8);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .newsletter-form {
        flex-direction: row;
    }
}

.newsletter-input {
    flex: 1;
    padding: 1rem 1.5rem;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 0.5rem;
    color: var(--navy-950);
    font-size: 0.95rem;
}

.newsletter-input::placeholder {
    color: rgba(13, 25, 41, 0.5);
}

.newsletter-input:focus {
    outline: none;
    background: #fff;
}

.newsletter-btn {
    padding: 1rem 2rem;
    background: var(--navy-950);
    color: #fff;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s;
}

.newsletter-btn:hover {
    background: var(--brand-blue);
}
