/* Contact Page Styles - Optic Cabo */
/* Matching the golden luxury theme */

/* ================================
   GENERAL STYLES
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ================================
   CONTACT MAIN
================================ */
.contact-main {
    padding-bottom: 60px;
}

/* ================================
   HERO SECTION
================================ */
.contact-hero {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.95) 0%, rgba(184, 134, 11, 0.95) 100%),
                url('images/cabo-bg.jpg') center/cover no-repeat;
    padding: 80px 0;
    text-align: center;
    color: white;
}

.contact-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.contact-hero p {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* ================================
   CONTACT SECTION
================================ */
.contact-section {
    padding: 60px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.section-title {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title i {
    color: #D4AF37;
    font-size: 1.5rem;
}

.section-title.centered {
    justify-content: center;
    text-align: center;
}

/* ================================
   CONTACT INFO SECTION
================================ */
.contact-info-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* Info Cards */
.info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
    border-left: 4px solid #D4AF37;
}

.info-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.15);
}

.info-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.info-icon.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.info-content h3 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 8px;
}

.info-content p {
    color: #666;
    font-size: 0.95rem;
    margin: 4px 0;
}

.info-content a {
    color: #D4AF37;
    font-weight: 500;
}

.info-content a:hover {
    color: #B8860B;
}

.response-time {
    font-size: 0.85rem !important;
    color: #888 !important;
    font-style: italic;
}

/* WhatsApp Button */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white !important;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
}

/* Social Section */
.social-section {
    margin-bottom: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.social-section h3 {
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.social-link.facebook {
    background: #1877f2;
    color: white;
}

.social-link.facebook:hover {
    background: #0d65d9;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(24, 119, 242, 0.4);
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-link.instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(225, 48, 108, 0.4);
}

/* Business Hours */
.hours-section {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(184, 134, 11, 0.1) 100%);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.hours-section h3 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hours-section h3 i {
    color: #D4AF37;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(212, 175, 55, 0.3);
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-item span {
    color: #666;
}

.hours-item strong {
    color: #333;
}

.availability-note {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #28a745;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 10px;
}

.availability-note i {
    font-size: 1.1rem;
}

/* ================================
   CONTACT FORM SECTION
================================ */
.contact-form-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    width: 100%;
}

.form-row.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: #D4AF37;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #D4AF37;
    background: white;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23D4AF37' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 45px;
}

/* Checkbox Group */
.checkbox-group {
    flex-direction: row !important;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: normal !important;
    color: #666;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #D4AF37;
    cursor: pointer;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.btn-submit:active {
    transform: translateY(-1px);
}

/* Form Note */
.form-note {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #f0f8ff;
    border-radius: 10px;
    margin-top: 20px;
    border-left: 4px solid #2196f3;
}

.form-note i {
    color: #2196f3;
    font-size: 1.3rem;
}

.form-note p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* ================================
   MAP SECTION
================================ */
.map-section {
    padding: 60px 0;
    background: white;
}

.map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

.map-wrapper iframe {
    display: block;
}

/* ================================
   QUICK ACTIONS SECTION
================================ */
.quick-actions {
    padding: 60px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.quick-actions .section-title {
    color: white;
    margin-bottom: 40px;
}

.quick-actions .section-title i {
    color: #D4AF37;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.action-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    color: white;
}

.action-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: #D4AF37;
}

.action-card.whatsapp:hover {
    border-color: #25D366;
}

.action-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.action-card.whatsapp .action-icon {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.action-card:hover .action-icon {
    transform: scale(1.1);
}

.action-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.action-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* ================================
   WHATSAPP FLOATING BUTTON
================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.5);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 5px 25px rgba(37, 211, 102, 0.5);
    }
    50% {
        box-shadow: 0 5px 35px rgba(37, 211, 102, 0.8);
    }
}

/* ================================
   FOOTER
================================ */
.footer {
    background: #1a1a2e;
    color: white;
    padding: 40px 0;
}

.menu-footer {
    text-align: center;
}

.title-footer {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #D4AF37;
}

.footer ul {
    list-style: none;
    margin-bottom: 20px;
}

.footer ul li {
    margin: 8px 0;
    color: rgba(255, 255, 255, 0.8);
}

.footer .social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer .social-icons a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer .social-icons .facebook {
    background: #1877f2;
}

.footer .social-icons .instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.footer .social-icons a:hover {
    transform: translateY(-5px);
}

.copyright {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 5px 0;
}

/* ================================
   RESPONSIVE DESIGN
================================ */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .actions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 60px 0;
    }

    .contact-hero h1 {
        font-size: 2rem;
    }

    .contact-hero p {
        font-size: 1.1rem;
    }

    .contact-section {
        padding: 40px 0;
    }

    .contact-info-section,
    .contact-form-section {
        padding: 25px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .form-row.two-columns {
        grid-template-columns: 1fr;
    }

    .social-links {
        flex-direction: column;
    }

    .social-link {
        justify-content: center;
    }

    .info-card {
        flex-direction: column;
        text-align: center;
    }

    .action-card {
        padding: 30px 20px;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .contact-hero h1 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.3rem;
        flex-direction: column;
        text-align: center;
    }

    .hours-item {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
}
