/* =================================
   CONTACT PAGE STYLES
   ================================= */

/* Override body for contact page */
body {
    background: linear-gradient(135deg, #8B4513 0%, #D2691E 50%, #CD853F 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Popup Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}

.popup-overlay.hidden {
    display: none;
}

/* Container */
.container {
    background: #FFF8DC;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(139, 69, 19, 0.4);
    max-width: 500px;
    width: 100%;
    padding: 40px;
    border: 3px solid #D2691E;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: #8B4513;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.close-btn:hover {
    background: #A0522D;
    transform: rotate(90deg);
}

/* Logo Container */
.logo-container {
    text-align: center;
    margin-bottom: 20px;
}

.logo {
    max-width: 200px;
    height: auto;
}

/* Heading and Subtitle */
h2 {
    color: #8B4513;
    margin-bottom: 10px;
    font-size: 28px;
    text-align: center;
}

.subtitle {
    color: #A0522D;
    margin-bottom: 30px;
    font-size: 14px;
    text-align: center;
}

/* Form Elements */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #8B4513;
    font-weight: 600;
    font-size: 14px;
}

input, textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #D2691E;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
    font-family: inherit;
    background: white;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #8B4513;
    box-shadow: 0 0 8px rgba(139, 69, 19, 0.2);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* Buttons */
.btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 15px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-submit {
    background: linear-gradient(135deg, #8B4513 0%, #D2691E 100%);
    color: white;
    border: 2px solid #8B4513;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(139, 69, 19, 0.4);
    background: linear-gradient(135deg, #A0522D 0%, #CD853F 100%);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
}

/* Divider */
.divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #D2691E;
}

.divider span {
    background: #FFF8DC;
    padding: 0 15px;
    position: relative;
    color: #8B4513;
    font-size: 14px;
    font-weight: 600;
}

/* Messages */
.success-message {
    display: none;
    background: #DFF0D8;
    color: #3C763D;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 2px solid #8B4513;
    text-align: center;
}

.error-message {
    display: none;
    background: #F2DEDE;
    color: #A94442;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 2px solid #8B4513;
    text-align: center;
}

/* WhatsApp Icon */
.whatsapp-icon {
    width: 24px;
    height: 24px;
}

/* Home Link */
.home-link {
    text-align: center;
    margin-top: 20px;
}

.home-link a {
    color: #8B4513;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.home-link a:hover {
    color: #D2691E;
}

/* Disable logo zoom effect on contact page */
.logo {
    transition: none !important;
}

.logo:hover {
    transform: none !important;
    filter: none !important;
}

.logo-container .logo {
    transition: none !important;
    transform: none !important;
}

.logo-container .logo:hover {
    transform: none !important;
    filter: none !important;
}
