/* Jewelry-Focused Contact Us Page Styling */

/* Hero Section */
.jewelry-contact-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    color: white;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.jewelry-contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="jewelry-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffc107" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23jewelry-pattern)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-right: 30px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1.8rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hero-title i {
    margin-right: 15px;
    font-size: 0.9em;
    vertical-align: middle;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.7;
    font-weight: 300;
    max-width: 90%;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.15rem;
    font-weight: 500;
    padding: 8px 0;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
}

.feature-item i {
    font-size: 1.4rem;
    width: 28px;
    text-align: center;
}

/* Jewelry Showcase Animation */
.jewelry-showcase {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.showcase-item {
    position: absolute;
    background: linear-gradient(135deg, #ffc107 0%, #ff8f00 100%);
    color: #1a1a1a;
    padding: 25px;
    border-radius: 50%;
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 12px 35px rgba(255, 193, 7, 0.4);
    animation: float 4s ease-in-out infinite;
    transition: all 0.4s ease;
    border: 3px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.showcase-item:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 20px 50px rgba(255, 193, 7, 0.6);
}

.showcase-item i {
    font-size: 2.5rem;
    margin-bottom: 8px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.showcase-item span {
    font-size: 0.95rem;
    text-align: center;
    line-height: 1.2;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.showcase-1 {
    top: 15%;
    left: 15%;
    animation-delay: 0s;
}

.showcase-2 {
    top: 45%;
    right: 10%;
    animation-delay: 1.5s;
}

.showcase-3 {
    bottom: 15%;
    left: 35%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-25px) rotate(2deg);
    }
    66% {
        transform: translateY(-15px) rotate(-2deg);
    }
}

/* Service Contact Cards */
.jewelry-services-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    margin: 60px -15px 0;
    position: relative;
}

.jewelry-services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="service-pattern" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="%23ffc107" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23service-pattern)"/></svg>');
}

.service-contact-card {
    background: white;
    border-radius: 20px;
    padding: 40px 25px;
    text-align: center;
    height: 100%;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffc107 0%, #ff8f00 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-contact-card:hover::before {
    transform: scaleX(1);
}

.service-contact-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    border-color: #ffc107;
}

.service-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #ffc107 0%, #ff8f00 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2.2rem;
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
    transition: all 0.3s ease;
}

.service-contact-card:hover .service-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 12px 35px rgba(255, 193, 7, 0.5);
}

.service-contact-card h5 {
    color: #1a1a1a;
    margin-bottom: 18px;
    font-weight: 700;
    font-size: 1.3rem;
    line-height: 1.3;
}

.service-contact-card p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 1rem;
}

/* Enhanced Contact Form */
.jewelry-contact-form {
    background: white;
    border-radius: 25px;
    padding: 50px 45px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.jewelry-contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #ffc107 0%, #ff8f00 50%, #ffc107 100%);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.form-header::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ffc107 0%, #ff8f00 100%);
    border-radius: 2px;
}

.form-title {
    color: #1a1a1a;
    font-weight: 800;
    margin-bottom: 12px;
    font-size: 2rem;
    line-height: 1.2;
}

.form-title i {
    margin-right: 12px;
    font-size: 0.9em;
}

.form-subtitle {
    color: #666;
    margin-bottom: 0;
    font-size: 1.1rem;
    line-height: 1.5;
}

.form-label {
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.form-label i {
    color: #ffc107;
    width: 18px;
    text-align: center;
    font-size: 1.1rem;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 15px 18px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-control:focus {
    border-color: #ffc107;
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.15);
    transform: translateY(-2px);
    background: white;
}

.form-control:hover {
    border-color: #ffc107;
    background: white;
}

.form-check-input:checked {
    background-color: #ffc107;
    border-color: #ffc107;
}

.form-check-label {
    font-weight: 500;
    color: #666;
    margin-left: 8px;
}

#contact-us-submit-btn {
    background: linear-gradient(135deg, #ffc107 0%, #ff8f00 100%);
    border: none;
    border-radius: 15px;
    padding: 18px 40px;
    font-weight: 800;
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
    position: relative;
    overflow: hidden;
}

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

#contact-us-submit-btn:hover::before {
    left: 100%;
}

#contact-us-submit-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(255, 193, 7, 0.4);
    background: linear-gradient(135deg, #ff8f00 0%, #f57c00 100%);
}

.form-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    margin-top: 15px;
}

/* Map Container */
.map-container {
    position: relative;
    margin-bottom: 20px;
}

.custom-map-wrapper,
.default-map-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-map-wrapper:hover,
.default-map-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.custom-map-wrapper iframe,
.default-map-wrapper iframe {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 12px;
    transition: filter 0.3s ease;
}

.map-notice {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 15px;
    text-align: center;
}

.map-notice small {
    color: #6c757d;
    font-size: 0.875rem;
    line-height: 1.4;
}

.map-notice i {
    color: #007bff;
    margin-right: 6px;
}

/* Loading state for maps */
.map-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 450px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 2px dashed #dee2e6;
}

.map-loading-content {
    text-align: center;
    color: #6c757d;
}

.map-loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error state for maps */
.map-error {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 450px;
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
    border-radius: 12px;
    border: 2px dashed #fc8181;
}

.map-error-content {
    text-align: center;
    color: #e53e3e;
}

.map-error-icon {
    font-size: 48px;
    margin-bottom: 15px;
    color: #fc8181;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .jewelry-showcase {
        height: 350px;
    }

    .showcase-item {
        width: 100px;
        height: 100px;
        padding: 15px;
    }

    .showcase-item i {
        font-size: 1.5rem;
    }

    .showcase-item span {
        font-size: 0.8rem;
    }
}

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

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .jewelry-showcase {
        height: 300px;
        margin-top: 30px;
    }

    .service-contact-card {
        margin-bottom: 20px;
    }

    .jewelry-contact-form {
        padding: 30px;
    }

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

@media (max-width: 768px) {
    .jewelry-contact-hero {
        padding: 40px 0;
        text-align: center;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-features {
        align-items: center;
    }

    .jewelry-showcase {
        height: 250px;
    }

    .showcase-item {
        width: 80px;
        height: 80px;
        padding: 10px;
    }

    .showcase-item i {
        font-size: 1.2rem;
    }

    .showcase-item span {
        font-size: 0.7rem;
    }

    .jewelry-services-section {
        padding: 40px 0;
    }

    .service-contact-card {
        padding: 25px 15px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .jewelry-contact-form {
        padding: 25px;
        border-radius: 15px;
    }

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

    .custom-map-wrapper iframe,
    .default-map-wrapper iframe {
        height: 300px;
    }

    .contact-info-card {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .business-hours-card {
        padding: 25px;
    }

    .service-detail-card {
        padding: 25px;
        margin-bottom: 20px;
    }

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

    .section-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .jewelry-contact-hero {
        padding: 30px 0;
    }

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

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .feature-item {
        font-size: 1rem;
    }

    .jewelry-showcase {
        height: 200px;
    }

    .showcase-item {
        width: 70px;
        height: 70px;
        padding: 8px;
    }

    .showcase-item i {
        font-size: 1rem;
        margin-bottom: 0.2rem;
    }

    .showcase-item span {
        font-size: 0.6rem;
    }

    .jewelry-services-section {
        padding: 30px 0;
    }

    .service-contact-card {
        padding: 20px 15px;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .jewelry-contact-form {
        padding: 20px;
        border-radius: 12px;
    }

    .form-title {
        font-size: 1.3rem;
    }

    .form-subtitle {
        font-size: 0.9rem;
    }

    #contact-us-submit-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .custom-map-wrapper iframe,
    .default-map-wrapper iframe {
        height: 250px;
    }

    .contact-info-card {
        padding: 15px;
        gap: 12px;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .business-hours-card {
        padding: 20px;
    }

    .hour-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .service-detail-card {
        padding: 20px;
    }

    .service-header i {
        font-size: 2rem;
    }

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

    .section-subtitle {
        font-size: 0.9rem;
    }

    .map-container {
        margin-bottom: 15px;
    }
}

/* Animation Enhancements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Page Load Animations */
.hero-content {
    animation: fadeInLeft 0.8s ease-out;
}

.jewelry-showcase {
    animation: fadeInRight 0.8s ease-out 0.2s both;
}

.section-header {
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.service-contact-card {
    animation: scaleIn 0.6s ease-out both;
}

.service-contact-card:nth-child(1) { animation-delay: 0.6s; }
.service-contact-card:nth-child(2) { animation-delay: 0.7s; }
.service-contact-card:nth-child(3) { animation-delay: 0.8s; }
.service-contact-card:nth-child(4) { animation-delay: 0.9s; }

.jewelry-contact-form {
    animation: fadeInLeft 0.8s ease-out 1s both;
}

.store-location-section {
    animation: fadeInRight 0.8s ease-out 1.1s both;
}

.contact-info-card {
    animation: fadeInUp 0.6s ease-out both;
}

.contact-info-card:nth-child(1) { animation-delay: 1.2s; }
.contact-info-card:nth-child(2) { animation-delay: 1.3s; }
.contact-info-card:nth-child(3) { animation-delay: 1.4s; }

.service-detail-card {
    animation: fadeInUp 0.6s ease-out both;
}

.service-detail-card:nth-child(1) { animation-delay: 1.5s; }
.service-detail-card:nth-child(2) { animation-delay: 1.6s; }
.service-detail-card:nth-child(3) { animation-delay: 1.7s; }

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Enhanced Focus States */
.form-control:focus,
.btn:focus,
.service-contact-card:focus {
    outline: 3px solid rgba(255, 193, 7, 0.3);
    outline-offset: 2px;
}

/* Loading State */
.page-loading {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.page-loaded {
    opacity: 1;
}

/* Print Styles */
@media print {
    .jewelry-contact-hero,
    .jewelry-services-section,
    .additional-services-section {
        display: none;
    }

    .jewelry-contact-form,
    .contact-info-cards {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Contact form styling improvements */
.login-form {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-form:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

/* Contact Info Cards */
.contact-info-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #ffc107;
    height: 100%;
}

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

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffc107 0%, #ff8f00 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h5 {
    color: #1a1a1a;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-details p {
    margin-bottom: 5px;
    color: #333;
}

.contact-details a {
    color: #ffc107;
    text-decoration: none;
    font-weight: 600;
}

.contact-details a:hover {
    color: #ff8f00;
    text-decoration: underline;
}

.contact-details small {
    color: #666;
    font-style: italic;
}

/* Business Hours Card */
.business-hours-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    border-radius: 15px;
    padding: 30px;
    margin-top: 20px;
}

.business-hours-card h5 {
    margin-bottom: 20px;
    font-weight: 700;
}

.hours-list {
    margin-bottom: 20px;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.hour-item.special {
    background: rgba(255, 193, 7, 0.1);
    border-radius: 8px;
    padding: 12px 15px;
    margin-top: 10px;
}

.hour-item .day {
    font-weight: 600;
}

.hour-item .time {
    color: #ffc107;
    font-weight: 500;
}

.special-note {
    background: rgba(255, 193, 7, 0.1);
    border-radius: 8px;
    padding: 15px;
    border-left: 3px solid #ffc107;
}

.special-note i {
    color: #ffc107;
    margin-right: 8px;
}

/* Service Detail Cards */
.service-detail-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    border-color: #ffc107;
}

.service-header {
    margin-bottom: 25px;
}

.service-header i {
    font-size: 3rem;
    color: #ffc107;
    margin-bottom: 15px;
    display: block;
}

.service-header h5 {
    color: #1a1a1a;
    font-weight: 700;
    margin-bottom: 0;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.service-features li {
    padding: 8px 0;
    color: #666;
    position: relative;
    padding-left: 25px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ffc107;
    font-weight: bold;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ffc107 0%, #ff8f00 100%);
    border-radius: 2px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.section-title i {
    margin-right: 15px;
    font-size: 0.9em;
    vertical-align: middle;
}

.section-subtitle {
    font-size: 1.3rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 300;
}

/* Store Location Section */
.store-location-section h3 {
    color: #1a1a1a;
    font-weight: 800;
    margin-bottom: 15px;
    font-size: 1.8rem;
    line-height: 1.3;
}

.store-location-section h3 i {
    margin-right: 12px;
    font-size: 0.9em;
}

.store-location-section .section-subtitle {
    color: #666;
    margin-bottom: 30px;
    text-align: left;
    max-width: none;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Main Content Spacing */
#content {
    padding: 80px 0;
}

.main-content {
    margin-top: 40px;
}
