/**
 * Star Inn Suites & Retreat - Contact Page Styles
 */

/* Hero Section */
.hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 60px;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(7,13,21,0.92) 0%, rgba(7,13,21,0.8) 50%, rgba(7,13,21,0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    margin-bottom: 1.5rem;
    background: rgba(212, 169, 50, 0.1);
    border: 1px solid rgba(212, 169, 50, 0.3);
    border-radius: 2rem;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    color: var(--gold-400);
    text-transform: uppercase;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Contact Info Cards */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: linear-gradient(135deg, rgba(212, 169, 50, 0.05), rgba(26, 42, 66, 0.4));
    border: 1px solid rgba(212, 169, 50, 0.15);
    border-radius: 1rem;
    padding: 1.75rem;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    transition: all 0.3s;
}

.info-card:hover {
    border-color: rgba(212, 169, 50, 0.3);
    transform: translateY(-3px);
}

.info-icon {
    width: 60px;
    height: 60px;
    border-radius: 1rem;
    background: rgba(212, 169, 50, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gold-500);
    flex-shrink: 0;
}

.info-content {
    flex: 1;
}

.info-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.info-text {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

.info-text a {
    color: var(--gold-400);
    transition: color 0.3s;
}

.info-text a:hover {
    color: var(--gold-300);
}

.info-text strong {
    color: #fff;
    font-weight: 500;
}

/* Social Links */
.social-card {
    background: linear-gradient(135deg, rgba(212, 169, 50, 0.08), rgba(26, 42, 66, 0.5));
    border: 1px solid rgba(212, 169, 50, 0.2);
    border-radius: 1rem;
    padding: 1.75rem;
}

.social-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
}

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

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 0.75rem;
    background: rgba(212, 169, 50, 0.1);
    border: 1px solid rgba(212, 169, 50, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--gold-500);
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--gold-500);
    color: var(--navy-950);
    transform: translateY(-3px);
}

.social-link.facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
    color: #fff;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: #dc2743;
    color: #fff;
}

.social-link.twitter:hover {
    background: #1DA1F2;
    border-color: #1DA1F2;
    color: #fff;
}

.social-link.linkedin:hover {
    background: #0A66C2;
    border-color: #0A66C2;
    color: #fff;
}

.social-link.youtube:hover {
    background: #FF0000;
    border-color: #FF0000;
    color: #fff;
}

.social-link.whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
    color: #fff;
}

/* Contact Form */
.contact-form-card {
    background: linear-gradient(135deg, rgba(212, 169, 50, 0.05), rgba(26, 42, 66, 0.4));
    border: 1px solid rgba(212, 169, 50, 0.15);
    border-radius: 1rem;
    padding: 2rem;
}

.form-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-subtitle {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group.full-width,
.form-error.full-width {
    grid-column: 1 / -1;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
}

.form-label span {
    color: var(--brand-coral);
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    background: rgba(7,13,21,0.5);
    border: 1px solid rgba(212, 169, 50, 0.2);
    border-radius: 0.5rem;
    color: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--gold-500);
    background: rgba(7,13,21,0.7);
}

.form-input::placeholder, .form-textarea::placeholder {
    color: rgba(255,255,255,0.4);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23d4a932' 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 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-select option {
    background: var(--navy-900);
    color: #fff;
}

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

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.form-checkbox input {
    width: 20px;
    height: 20px;
    accent-color: var(--gold-500);
    margin-top: 0.1rem;
    cursor: pointer;
}

.form-checkbox label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
}

.form-checkbox label a {
    color: var(--gold-400);
}

.form-submit {
    width: 100%;
    padding: 1rem;
    background: var(--gradient-gold);
    color: var(--navy-950);
    font-size: 1rem;
    font-weight: 700;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 169, 50, 0.4);
}

.form-submit:disabled {
    transform: none;
    box-shadow: none;
}

/* Honeypot - visually hidden, still reachable by bots */
.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Error Message */
.form-error {
    display: none;
    padding: 0.85rem 1rem;
    border-radius: 0.5rem;
    background: rgba(229, 62, 62, 0.1);
    border: 1px solid rgba(229, 62, 62, 0.35);
    color: #ffb4b4;
    font-size: 0.9rem;
    line-height: 1.6;
}

.form-error.show {
    display: block;
}

.form-error i {
    margin-right: 0.4rem;
}

/* Map Section */
.map-section {
    padding: 0 0 5rem;
}

.map-container {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(212, 169, 50, 0.15);
}

#contact-map {
    height: 450px;
    width: 100%;
}

/* Office Locations */
.offices-section {
    padding: 5rem 0;
    background: var(--navy-900);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    margin-bottom: 1rem;
    background: rgba(212, 169, 50, 0.1);
    border: 1px solid rgba(212, 169, 50, 0.3);
    border-radius: 2rem;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--gold-400);
    text-transform: uppercase;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 400;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
    max-width: 600px;
    margin: 0 auto;
}

.offices-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

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

@media (min-width: 1024px) {
    .offices-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.office-card {
    background: linear-gradient(135deg, rgba(212, 169, 50, 0.05), rgba(26, 42, 66, 0.4));
    border: 1px solid rgba(212, 169, 50, 0.15);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.4s;
}

.office-card:hover {
    border-color: rgba(212, 169, 50, 0.3);
    transform: translateY(-5px);
}

.office-image {
    height: 180px;
    overflow: hidden;
}

.office-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.office-card:hover .office-image img {
    transform: scale(1.05);
}

.office-content {
    padding: 1.5rem;
}

.office-badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    background: rgba(212, 169, 50, 0.15);
    border-radius: 0.25rem;
    font-size: 0.7rem;
    color: var(--gold-500);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.office-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.office-address {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.office-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.office-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
}

.office-contact-item i {
    color: var(--gold-500);
    width: 16px;
}

.office-contact-item a:hover {
    color: var(--gold-400);
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: linear-gradient(135deg, rgba(212, 169, 50, 0.03), rgba(26, 42, 66, 0.3));
    border: 1px solid rgba(212, 169, 50, 0.1);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: rgba(212, 169, 50, 0.2);
}

.faq-item.active {
    border-color: rgba(212, 169, 50, 0.3);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
}

.faq-question:hover {
    color: var(--gold-400);
}

.faq-question i {
    color: var(--gold-500);
    font-size: 0.9rem;
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

/* Success Message */
.form-success {
    display: none;
    text-align: center;
    padding: 3rem 2rem;
}

.form-success.show {
    display: block;
}

.form-success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(46, 196, 182, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--brand-teal);
}

.form-success h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.form-success p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.5rem;
}
