/* Landing Page CSS */

/* Global Adjustments */
.landing-wrapper {
    font-family: 'Noto Sans KR', sans-serif;
    overflow-x: hidden;
}

.landing-section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: #333;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: #666;
    margin-bottom: 60px;
}

/* Hero Section */
.hero-section {
    height: 80vh;
    min-height: 600px;
    /* Background image is set via JS */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    transition: background-image 1s ease-in-out; /* Smooth fade effect */
}

/* Dark overlay for better text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    background-color: #007bff;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,123,255,0.4);
}

.hero-btn:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,123,255,0.6);
}

/* Services Section */
.services-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: wrap;
}

.service-card {
    flex: 1;
    min-width: 300px;
    padding: 50px 30px; /* Increased padding */
    border-radius: 20px; /* More rounded */
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
    border: none;
    color: white; /* White text for colored bg */
}

/* Vivid Colors for Service Cards */
.service-card:nth-child(1) {
    background: linear-gradient(135deg, #ff6b6b, #ee5253); /* Red/Orange */
}
.service-card:nth-child(2) {
    background: linear-gradient(135deg, #4834d4, #686de0); /* Deep Blue/Purple */
}
.service-card:nth-child(3) {
    background: linear-gradient(135deg, #f0932b, #ffbe76); /* Orange/Yellow - changed to ensure visibility mostly */
    /* Let's try a different one for contrast, maybe teal/green */
    background: linear-gradient(135deg, #2ecc71, #26de81); /* Vivid Green */
}

.service-card:hover {
    transform: translateY(-15px) scale(1.03);
}

.service-icon {
    font-size: 4rem; /* Larger icon */
    color: white; /* White icon */
    margin-bottom: 25px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.service-title {
    font-size: 2rem; /* Larger title */
    font-weight: 800; /* Bolder */
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.service-desc {
    color: rgba(255,255,255,0.9); /* White transparent */
    line-height: 1.7;
    font-size: 1.1rem; /* Larger desc */
    font-weight: 500;
}

/* Area Section */
.area-section {
    background-color: #f8f9fa;
}

.area-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 1000px;
    margin: 0 auto;
}

.area-badge {
    padding: 10px 25px;
    background: white;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #444;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    border: 1px solid #e9ecef;
}

/* Gallery Section */
.gallery-grid {
    column-count: 3; /* Masonry layout using column-count */
    column-gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gallery-item {
    break-inside: avoid; /* Prevent breaking across columns */
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background: white;
}

.gallery-item img {
    width: 100%;
    height: auto; /* Respect aspect ratio */
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .gallery-grid {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        column-count: 1;
    }
}

/* Contact Section */
.contact-section {
    background-color: #333;
    color: white;
    text-align: center;
}

.contact-section .section-title {
    color: white;
}

.contact-section .section-subtitle {
    color: #aaa;
}

.contact-number {
    font-size: 4rem;
    font-weight: 800;
    color: #ffc107;
    margin: 30px 0;
    display: block;
    text-decoration: none;
}

.contact-info {
    font-size: 1.2rem;
    color: #ddd;
}

/* Floating Call Button for Mobile */
.floating-call {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #28a745;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
    z-index: 1000;
    text-decoration: none;
}

/* Responsive */
@media (min-width: 769px) {
    .mobile-br {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll; /* Fix for mobile background zoom issue */
        height: 60vh; /* Reduce height on mobile */
        min-height: 400px;
        background-position: center center !important; /* Ensure center */
        background-size: cover !important; /* Ensure cover */
    }

    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .contact-number {
        font-size: 2.5rem;
    }
    
    .floating-call {
        display: flex;
    }
}

/* Custom Header & Footer */
.custom-header {
    background: rgba(255, 255, 255, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.custom-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #333;
    text-decoration: none;
}

.header-call-btn {
    background-color: #dc3545; /* Red color */
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 6px rgba(220, 53, 69, 0.2);
}

.header-call-btn:hover {
    background-color: #c82333; /* Darker red */
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(220, 53, 69, 0.3);
}

.header-call-btn i {
    margin-right: 5px;
}

.custom-footer {
    background: #222;
    color: #aaa;
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer-info {
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-copy {
    color: #666;
}

/* Adjust wrapper for fixed header */
.landing-wrapper {
    padding-top: 60px;
}
