/* Contact Page Styles */

/* Contact Hero Section */
.contact-hero {
    padding: 120px 0 50px;
    background-color: #f9f9f9;
    text-align: center;
    margin-top: 0;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(245,245,245,0.95), rgba(250,250,250,0.85));
    z-index: 0;
}

.contact-hero .headline {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
    line-height: 1.2;
    position: relative;
    z-index: 1;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8);
    padding-bottom: 20px;
}

.contact-hero .headline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, rgba(166,124,82,0.3), rgba(166,124,82,1), rgba(166,124,82,0.3));
}

.contact-hero .subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #555;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    letter-spacing: 0.5px;
}

/* Content Section */
.content-section {
    padding: 60px 0;
    background-color: #fff;
    position: relative;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.headline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(to right, rgba(0,0,0,0.1), rgba(0,0,0,0.6), rgba(0,0,0,0.1));
}

.subheadline {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: #666;
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

/* Contact Grid Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-top: 30px;
}

/* Contact Info Cards */
.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.info-card {
    background-color: #fff;
    padding: 25px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.info-card i {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.info-card:hover i {
    color: #a67c52;
    transform: scale(1.1);
}

.info-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
}

.info-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
}

.info-card a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-card a:hover {
    color: #a67c52;
}

/* Social Links */
.social-card {
    grid-column: span 2;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f5f5f5;
    color: #333;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #333;
    color: #fff;
    transform: translateY(-3px);
}

.social-link i {
    font-size: 18px;
    margin: 0;
}

/* Contact Container Layout */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    justify-content: space-between;
}

.contact-info {
    flex: 0 0 calc(50% - 20px);
    min-width: 300px;
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: auto;
    position: relative;
    z-index: 1;
    overflow: visible;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #333, #a67c52);
    z-index: 2;
}

.contact-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.contact-form-container {
    flex: 0 0 calc(50% - 20px);
    min-width: 400px;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: auto;
    position: relative;
    z-index: 1;
    overflow: visible;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #a67c52, #333);
    z-index: 2;
}

.contact-form-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* Contact Information Styling */
.contact-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 12px;
    color: #333;
    text-align: center;
}

.contact-info h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: linear-gradient(to right, rgba(166,124,82,0.3), rgba(166,124,82,1), rgba(166,124,82,0.3));
}

.contact-details {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

.contact-item:hover {
    transform: translateX(5px);
}

.contact-item i {
    font-size: 22px;
    color: #a67c52;
    margin-right: 18px;
    margin-top: 5px;
    transition: transform 0.3s ease;
}

.contact-item:hover i {
    transform: scale(1.2);
}

.contact-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    letter-spacing: 0.5px;
}

.contact-item p {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    letter-spacing: 0.3px;
}

/* Connect Message Styling */
.contact-message {
    margin: 30px 0;
    text-align: center;
    padding: 15px 20px;
    background: linear-gradient(to right, rgba(166,124,82,0.1), rgba(166,124,82,0.2), rgba(166,124,82,0.1));
    border-radius: 8px;
}

.connect-message {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 600;
    color: #a67c52;
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1.5;
}

.social-media {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.social-media h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
    position: relative;
    padding-bottom: 10px;
}

.social-media h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, rgba(166,124,82,0.3), rgba(166,124,82,1), rgba(166,124,82,0.3));
}

.social-media .social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-media .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #333;
    color: #fff;
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.social-media .social-icon:hover {
    background-color: #a67c52;
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(166,124,82,0.3);
}

/* Contact Form */
.contact-form-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 12px;
    color: #333;
    text-align: center;
}

.contact-form-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: linear-gradient(to right, rgba(166,124,82,0.3), rgba(166,124,82,1), rgba(166,124,82,0.3));
}

.contact-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #333;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    color: #333;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23333' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    padding-right: 45px;
    cursor: pointer;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #a67c52;
    box-shadow: 0 0 0 3px rgba(166, 124, 82, 0.1);
    outline: none;
    background-color: #fff;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group select:focus + label {
    color: #a67c52;
}

.form-group select option {
    padding: 10px;
    font-size: 16px;
}

.submit-btn {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 16px 32px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 20px;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.6s ease;
}

.submit-btn:hover {
    background-color: #a67c52;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(166, 124, 82, 0.3);
}

.submit-btn:hover::before {
    left: 100%;
}

/* Map Section */
.map-section {
    margin-top: 80px;
    padding: 0 20px 60px;
}

.map-section .section-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.map-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: linear-gradient(to right, rgba(166,124,82,0.3), rgba(166,124,82,1), rgba(166,124,82,0.3));
}

.map-section .section-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    text-align: center;
    color: #555;
    margin-bottom: 30px;
}

.map-container {
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 40px;
}

.map-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.map-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #333, #a67c52, #333);
    z-index: 2;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
    background-image: linear-gradient(45deg, #e9e9e9 25%, transparent 25%, transparent 75%, #e9e9e9 75%, #e9e9e9), 
                      linear-gradient(45deg, #e9e9e9 25%, transparent 25%, transparent 75%, #e9e9e9 75%, #e9e9e9);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Roboto', sans-serif;
    color: #555;
    text-align: center;
    padding: 20px;
}

.map-placeholder i {
    font-size: 48px;
    color: #a67c52;
    margin-bottom: 15px;
}

.map-placeholder p {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 10px;
}

.map-placeholder span {
    font-size: 16px;
    color: #666;
}

.directions-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.direction-item {
    display: flex;
    align-items: flex-start;
    max-width: 350px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.direction-item:hover {
    transform: translateY(-5px);
}

.direction-item i {
    font-size: 24px;
    color: #a67c52;
    margin-right: 15px;
    margin-top: 3px;
}

.direction-item h4 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.direction-item p {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    color: #555;
    line-height: 1.5;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .contact-container {
        padding: 0 20px;
    }
}

@media (max-width: 992px) {
    .contact-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-info, .contact-form-container {
        width: 100%;
        flex: 0 0 100%;
        height: auto;
        min-height: auto;
    }
    
    .contact-form-container {
        order: 1;
    }
    
    .contact-info {
        order: 2;
    }
    
    .map-section {
        margin-top: 60px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 100px 0 40px;
    }
    
    .contact-hero .headline {
        font-size: 38px;
        padding-bottom: 15px;
    }
    
    .contact-hero .subtitle {
        font-size: 18px;
        margin-bottom: 20px;
        padding: 0 20px;
    }
    
    .content-section {
        padding: 50px 0;
    }
    
    .contact-details {
        margin-bottom: 30px;
    }
    
    .contact-item {
        margin-bottom: 20px;
        padding-bottom: 12px;
    }
    
    .contact-info h2, .contact-form-container h2 {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group input, .form-group textarea, .form-group select {
        padding: 12px 15px;
    }
    
    .map-container {
        height: 350px;
    }
    
    .map-section .section-title {
        font-size: 28px;
    }
    
    .map-section .section-subtitle {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .directions-info {
        gap: 20px;
    }
    
    .direction-item {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .contact-hero {
        padding: 80px 0 30px;
    }
    
    .contact-hero .headline {
        font-size: 32px;
    }
    
    .contact-hero .subtitle {
        font-size: 16px;
    }
    
    .content-section {
        padding: 40px 0;
    }
    
    .contact-info, .contact-form-container {
        padding: 25px;
        min-height: auto;
        max-height: none;
        height: auto;
        flex: 0 0 100%;
        width: 100%;
    }
    
    .contact-details {
        display: flex;
        flex-direction: column;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
        width: 100%;
        margin-bottom: 25px;
    }
    
    .contact-item i {
        margin-right: 0;
        margin-bottom: 10px;
        font-size: 24px;
    }
    
    .contact-message {
        margin: 20px 0;
        padding: 12px 15px;
    }
    
    .connect-message {
        font-size: 18px;
    }
    
    .social-media .social-icons {
        gap: 15px;
    }
    
    .social-media .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .submit-btn {
        padding: 14px 28px;
        font-size: 15px;
    }
    
    .map-section {
        margin-top: 60px;
        padding: 0 15px 40px;
    }
    
    .map-section .section-title {
        font-size: 24px;
    }
    
    .map-section .section-subtitle {
        font-size: 15px;
        margin-bottom: 20px;
        padding: 0 10px;
    }
    
    .map-container {
        height: 300px;
        margin-bottom: 20px;
    }
    
    .map-placeholder i {
        font-size: 36px;
    }
    
    .map-placeholder p {
        font-size: 18px;
    }
    
    .map-placeholder span {
        font-size: 14px;
    }
    
    .directions-info {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .direction-item {
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .contact-hero .headline {
        font-size: 28px;
    }
    
    .contact-info h2, .contact-form-container h2 {
        font-size: 22px;
    }
    
    .form-group label {
        font-size: 15px;
    }
    
    .form-group input, .form-group textarea {
        font-size: 15px;
        padding: 10px 12px;
    }
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.contact-grid {
    animation: fadeIn 0.8s ease-out forwards;
}

.info-card {
    opacity: 0;
    animation: fadeIn 0.5s ease-out forwards;
}

.info-card:nth-child(1) { animation-delay: 0.1s; }
.info-card:nth-child(2) { animation-delay: 0.2s; }
.info-card:nth-child(3) { animation-delay: 0.3s; }
.info-card:nth-child(4) { animation-delay: 0.4s; }
.info-card:nth-child(5) { animation-delay: 0.5s; }
.info-card:nth-child(6) { animation-delay: 0.6s; }
