/* Clean, Professional Design for Funeral Shipping and Consulate Assistant LLC */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: #ffffff;
    overflow-x: hidden;
}

/* Loading Screen - Simple and Clean */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    color: #2c3e50;
}

.loading-logo {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: #34495e;
}

.loading-text {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: #7f8c8d;
}

.loading-bar {
    width: 200px;
    height: 2px;
    background: #ecf0f1;
    border-radius: 1px;
    overflow: hidden;
    margin: 0 auto;
}

.loading-progress {
    height: 100%;
    background: #34495e;
    border-radius: 1px;
    animation: loadingProgress 2s ease-in-out infinite;
}

@keyframes loadingProgress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* Navigation - Clean and Minimal */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #ecf0f1;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.1rem;
}

.nav-logo i {
    font-size: 1.5rem;
    color: #34495e;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid #bdc3c7;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-phone:hover {
    background: #f8f9fa;
    border-color: #34495e;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* Header - Clean and Professional */
.header {
    padding: 4rem 0 4rem;
    text-align: center;
    background: #f8f9fa;
    border-bottom: 1px solid #ecf0f1;
    margin-top: 120px; /* More space from fixed navbar */
    border-radius: 0 0 20px 20px;
    margin-left: 1rem;
    margin-right: 1rem;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: #34495e;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
}

.hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    font-weight: 400;
    margin-bottom: 2rem;
}

/* Main Content */
.main-content {
    padding: 4rem 0;
}

/* Coming Soon Section - Clean Design */
.coming-soon-section {
    padding: 4rem 0;
    background: #ffffff;
}

.coming-soon-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.countdown-container {
    margin-bottom: 3rem;
}

.coming-soon-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.coming-soon-subtitle {
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-bottom: 3rem;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.countdown-item {
    text-align: center;
    background: #f8f9fa;
    padding: 1.5rem 1rem;
    border-radius: 8px;
    border: 1px solid #ecf0f1;
    min-width: 100px;
}

.countdown-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    font-family: 'Playfair Display', Georgia, serif;
}

.countdown-label {
    display: block;
    font-size: 0.8rem;
    color: #7f8c8d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.description-section {
    margin-top: 2rem;
}

.description {
    font-size: 1.1rem;
    color: #5a6c7d;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Section - Clean Grid */
.contact-section {
    padding: 4rem 0;
    background: #f8f9fa;
    border-top: 1px solid #ecf0f1;
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1rem;
    color: #7f8c8d;
    text-align: center;
    margin-bottom: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #ecf0f1;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-card:hover {
    border-color: #34495e;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: #34495e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.contact-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.contact-details p {
    font-size: 1rem;
    color: #5a6c7d;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.contact-note {
    font-size: 0.85rem;
    color: #7f8c8d;
    font-style: italic;
}

/* Services Section - Clean Cards */
.services-section {
    padding: 4rem 0;
    background: #ffffff;
}

.services-container {
    max-width: 1000px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.service-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #ecf0f1;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: #34495e;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #34495e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.service-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.service-card p {
    color: #5a6c7d;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Newsletter Section - Clean Form */
.newsletter-section {
    padding: 4rem 0;
    background: #34495e;
    color: white;
}

.newsletter-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content .section-title {
    color: white;
    margin-bottom: 1rem;
}

.newsletter-content .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.newsletter-form {
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.email-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 1px solid #5a6c7d;
    border-radius: 6px;
    font-size: 1rem;
    background: white;
    color: #2c3e50;
    outline: none;
    transition: all 0.3s ease;
}

.email-input:focus {
    border-color: white;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.submit-btn {
    padding: 1rem 2rem;
    background: white;
    color: #34495e;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.submit-btn:hover {
    background: #f8f9fa;
}

.privacy-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Footer - Clean and Simple */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
}

.footer-logo i {
    font-size: 1.2rem;
    color: #bdc3c7;
}

.footer-info p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
    font-size: 0.95rem;
}

.emergency-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #e74c3c !important;
    font-weight: 600;
    margin-top: 1rem;
    font-size: 0.95rem;
}

.emergency-note i {
    font-size: 1rem;
}

/* Background Elements - Subtle */
.background-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    background: rgba(52, 73, 94, 0.03);
    border-radius: 50%;
    animation: float 12s ease-in-out infinite;
}

.element-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 4s;
}

.element-3 {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 20%;
    animation-delay: 8s;
}

.element-4 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 30%;
    animation-delay: 2s;
}

.element-5 {
    width: 70px;
    height: 70px;
    top: 70%;
    left: 60%;
    animation-delay: 6s;
}

/* Scroll to Top Button - Clean */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 45px;
    height: 45px;
    background: #34495e;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #2c3e50;
    transform: translateY(-2px);
}

/* Animations - Subtle */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(90deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-logo span {
        display: none;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .coming-soon-title {
        font-size: 2rem;
    }
    
    .countdown-timer {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .countdown-item {
        min-width: 80px;
        padding: 1.2rem 0.8rem;
    }
    
    .countdown-number {
        font-size: 1.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .form-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-main {
        flex-direction: column;
        text-align: center;
    }
    
    .scroll-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .coming-soon-title {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .countdown-item {
        min-width: 70px;
        padding: 1rem 0.5rem;
    }
    
    .countdown-number {
        font-size: 1.3rem;
    }
    
    .contact-card,
    .service-card {
        padding: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Additional Styles for JavaScript */
.animate-in {
    animation: slideInUp 0.6s ease-out forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    border-radius: 4px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
}

.keyboard-navigation *:focus {
    outline: 2px solid #34495e;
    outline-offset: 2px;
}

.loaded {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}