/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fdff;
}

/* CSS Variables */
:root {
    --primary-color: #87ceeb;
    --secondary-color: #4a90e2;
    --accent-color: #20b2aa;
    --text-color: #333;
    --light-bg: #f0f8ff;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
}

/* Header and Navigation */
header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #fff200;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: 0.3s;
}

/* Main Content */
main {
    margin-top: 70px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--light-bg), var(--white));
    padding: 100px 40px;
    display: flex;
    align-items: center;
    min-height: 80vh;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
    padding-left: 20px;
    animation: slideInLeft 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    text-align: center;
    padding-right: 20px;
    animation: slideInRight 1s ease-out;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Section Styles */
section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 60px;
    position: relative;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* Services Section */
.services {
    background: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-color);
    opacity: 0.8;
}

/* Company Section */
.company {
    background: var(--white);
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: var(--light-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.info-table th,
.info-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid rgba(135, 206, 235, 0.2);
}

.info-table th {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    width: 30%;
}

.info-table td {
    background: var(--white);
}

.info-table tr:last-child td {
    border-bottom: none;
}

/* Stores Section */
.stores {
    background: var(--light-bg);
}

.store-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.store-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.store-header h3 {
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
}

.pdf-btn {
    background: var(--white);
    color: var(--secondary-color);
    border: none;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pdf-btn:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-2px);
}

.store-content {
    padding: 40px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.store-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--text-color);
}

.detail-group {
    margin-bottom: 40px;
}

.detail-group h4 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-color);
}

.detail-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.detail-table th,
.detail-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid rgba(135, 206, 235, 0.2);
}

.detail-table th {
    background: var(--light-bg);
    font-weight: 600;
    width: 30%;
    color: var(--secondary-color);
}

.service-list,
.insurance-list {
    list-style: none;
    padding: 0;
}

.service-list li,
.insurance-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.service-list li::before,
.insurance-list li::before {
    content: "✓";
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.store-image {
    text-align: center;
}

.store-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* News Section */
.news {
    background: var(--white);
}

.news-item {
    background: var(--light-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-3px);
}

.news-date {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.news-title {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.news-content {
    color: var(--text-color);
    opacity: 0.9;
}

/* Recruit Section */
.recruit {
    background: var(--light-bg);
}

.recruit-content {
    text-align: center;
    padding: 60px 0;
}

.recruit-content p {
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.8;
}

/* Contact Section */
.contact {
    background: var(--white);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
    margin-top: 30px;
}

.contact-info h3:first-child {
    margin-top: 0;
}

.contact-info p {
    margin-bottom: 10px;
    color: var(--text-color);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    text-align: center;
    padding: 30px 0;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--secondary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 10px 0;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px;
    }
    
    .hero-content {
        padding-right: 0;
        padding-left: 0;
        margin-bottom: 40px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .store-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .store-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .info-table th,
    .info-table td,
    .detail-table th,
    .detail-table td {
        padding: 15px 10px;
        font-size: 0.9rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .store-content {
        padding: 30px 20px;
    }
}

/* Scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Loading animation for images */
img {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Utility classes */
.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-20 {
    margin-top: 20px;
}