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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff8f0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #DC143C 0%, #B22222 100%);
    color: white;
    padding: 0.8rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
    color: #FF6B6B;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #FFD700;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FFD700;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(220, 20, 60, 0.4), rgba(178, 34, 34, 0.4)), 
                url('images/mikuri-0239.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0 80px;
    text-align: center;
    color: white;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-background {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
}

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

.strong-text {
    color: #000 !important;
    font-weight: 700 !important;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.8) !important;
}

.hero-info {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.info-item {
    background: rgba(255,255,255,0.9);
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 2px solid #FFD700;
    text-align: center;
    min-width: 180px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.info-label {
    display: block;
    font-size: 0.9rem;
    color: #DC143C;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.info-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.address-link {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px dotted #DC143C;
}

.address-link:hover {
    color: #DC143C;
    text-decoration: none;
    border-bottom: 1px solid #DC143C;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #DC143C 0%, #B22222 100%);
    color: white;
    padding: 1.2rem 3rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.3rem;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(220, 20, 60, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    border: 3px solid #FFD700;
    animation: pulse 2s infinite;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.6);
    background: linear-gradient(135deg, #B22222 0%, #DC143C 100%);
    border-color: #FF6B6B;
}

.cta-button.large {
    padding: 1.5rem 4rem;
    font-size: 1.5rem;
    animation: bounce 3s infinite;
}

.cta-button::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;
}

.cta-button:hover::before {
    left: 100%;
}

/* Section Styles */
.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #B22222;
    position: relative;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 2px;
}

/* About Section */
.about {
    padding: 50px 0;
    background: #fef9f3;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.about-images {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.about-image {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: scale(1.05);
}

.about-text h3 {
    font-size: 1.6rem;
    color: #B22222;
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-text p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.7;
}

.about-text p:nth-of-type(1),
.about-text p:nth-of-type(2) {
    margin-bottom: 0.3rem;
}

.about-text p:nth-of-type(3) {
    margin-top: 0.8rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: #FFD700;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

.feature-item h4 {
    font-size: 1.3rem;
    color: #B22222;
    margin-bottom: 1rem;
}

.feature-item p {
    color: #666;
    font-size: 1rem;
    text-align: left;
}

/* Details Section */
.details {
    padding: 50px 0;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
}

.details-intro {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
}

.details-image {
    flex: 1;
    min-width: 300px;
}

.detail-hero-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.details-text {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.details-text p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin: 0;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    align-items: start;
}

.detail-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
    transition: transform 0.3s ease;
    border: 2px solid #DC143C;
    border-top: 6px solid #B22222;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.2);
    border-color: #B22222;
}

.detail-card h3 {
    font-size: 1.3rem;
    color: #DC143C;
    margin-bottom: 1rem;
    font-weight: 600;
}

.detail-card p {
    color: #333;
    line-height: 1.6;
    font-weight: 500;
}

.detail-card strong {
    color: #B22222;
    font-weight: 700;
}

/* Video Section */
.video-section {
    padding: 50px 0;
    background: white;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

.video-description {
    text-align: center;
    margin-top: 2rem;
    font-size: 1.1rem;
    color: #666;
}

.video-message {
    text-align: center;
    margin-top: 1rem;
    font-size: 1.2rem;
    color: #B22222;
    font-weight: 600;
    background: linear-gradient(135deg, #fff 0%, #f8f8f8 100%);
    padding: 1rem 2rem;
    border-radius: 25px;
    border: 2px solid #DC143C;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.2);
}

/* Video Thumbnail Styles */
.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-thumbnail:hover {
    transform: scale(1.02);
}

.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
    background: transparent;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
}

/* Apply Section */
.apply-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #DC143C 0%, #B22222 100%);
    color: white;
    text-align: center;
}

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

.apply-section .section-title::after {
    background: #FFD700;
}

.apply-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.contact-info {
    margin-top: 2.5rem;
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #FFD700;
}

.contact-details p {
    margin-bottom: 0.5rem;
}

.contact-details a {
    color: #FFD700;
    text-decoration: none;
}

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

.line-contact {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.3);
}

.line-contact h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #FFD700;
}

.qr-code-container {
    background: rgba(255,255,255,0.9);
    border: 2px solid #FFD700;
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.qr-code-image {
    max-width: 150px;
    max-height: 150px;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .qr-code-container {
        flex-direction: row;
        text-align: left;
        justify-content: flex-start;
        align-items: center;
        padding: 0.8rem;
    }
    
    .qr-code-image {
        max-width: 100px;
        max-height: 100px;
        flex-shrink: 0;
    }
    
    .line-contact {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .line-contact h4 {
        margin-bottom: 0.3rem;
    }
    
    .line-contact p {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    .qr-code-container {
        flex-direction: row;
        gap: 0.8rem;
        padding: 0.7rem;
    }
    
    .qr-code-image {
        max-width: 80px;
        max-height: 80px;
    }
}

/* Contact card horizontal layout */
.contact-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 100%;
}

.contact-info-text {
    flex: 1;
}

.contact-info-text p {
    margin-bottom: 1rem;
    color: #333;
    line-height: 1.6;
    font-weight: 500;
}

.line-text {
    color: #DC143C;
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.line-text strong {
    color: #B22222;
    font-weight: 700;
}

.line-text span {
    color: #666;
    font-size: 0.9rem;
}

.contact-qr {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.contact-qr-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 2px solid #DC143C;
}

@media (max-width: 768px) {
    .details-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Keep horizontal layout on most mobile devices */
    .contact-content {
        display: flex;
        align-items: flex-start;
        gap: 1.2rem;
        text-align: left;
    }
    
    .contact-info-text {
        flex: 1;
        order: 1;
    }
    
    .contact-qr {
        flex-shrink: 0;
        order: 2;
    }
    
    .contact-qr-image {
        width: 90px;
        height: 90px;
    }
}

/* LINE URL Styling */
.line-url {
    font-size: 0.8rem;
    margin-top: 0.3rem;
    color: #333;
}

.line-url a {
    color: #DC143C;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.line-url a:hover {
    color: #B22222;
    text-decoration: underline;
}

.qr-code-container .line-url {
    background: rgba(220, 20, 60, 0.1);
    padding: 0.3rem 0.5rem;
    border-radius: 5px;
    border: 1px solid #DC143C;
    width: fit-content;
}

.contact-qr .line-url {
    font-size: 0.7rem;
    text-align: center;
}

@media (max-width: 480px) {
    /* Only switch to vertical layout on very small screens if needed */
    .contact-content {
        flex-direction: row;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .contact-qr-image {
        width: 75px;
        height: 75px;
    }
    
    .line-text {
        font-size: 0.85rem;
    }
    
    .line-text span {
        font-size: 0.8rem;
    }
    
    .line-url {
        font-size: 0.65rem;
    }
    
    .contact-qr .line-url {
        font-size: 0.6rem;
    }
    
    .contact-info-text p {
        margin-bottom: 0.8rem;
        font-size: 0.95rem;
    }
}

/* Enhanced layout for better QR code positioning */
@media (max-width: 400px) {
    .contact-content {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 0.8rem;
        text-align: left;
    }
    
    .contact-info-text {
        flex: 1;
        min-width: 0; /* Allow text to shrink */
    }
    
    .contact-qr {
        flex-shrink: 0;
        align-self: flex-start;
    }
    
    .contact-qr-image {
        width: 65px;
        height: 65px;
    }
    
    .line-text {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .contact-qr .line-url {
        font-size: 0.55rem;
        word-break: break-all;
        line-height: 1.2;
    }
}

/* Only use vertical layout on extra small screens */
@media (max-width: 320px) {
    .contact-content {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    
    .contact-info-text {
        order: 2;
    }
    
    .contact-qr {
        order: 1;
        align-self: center;
    }
    
    .contact-qr-image {
        width: 60px;
        height: 60px;
    }
}

/* Footer */
.footer {
    background: #2c1810;
    color: white;
    padding: 30px 0 15px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1.5rem;
}

.footer-info h3 {
    color: #FFD700;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-info p {
    margin-bottom: 0.5rem;
    color: #ccc;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FFD700;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #444;
    color: #999;
}

/* Mobile Line Break Controls */
/* Default: Natural line breaks on all devices */
.title-break::before,
.subtitle-break::before,
.info-break::before,
.about-break::before,
.details-break::before,
.contact-break::before,
.line-break::before,
.apply-break::before,
.apply-break-tight::before,
.contact-info-break::before {
    content: "\A";
    white-space: pre;
}

/* Mobile: More selective line breaks for better readability */
@media (max-width: 768px) {
    .title-break::before {
        content: "\A";
        white-space: pre;
    }
    
    .subtitle-break::before {
        content: "\A";
        white-space: pre;
    }
    
    .info-break::before {
        content: "\A";
        white-space: pre;
    }
    
    .about-break::before {
        content: " ";
        white-space: normal;
    }
    
    .details-break::before {
        content: "\A";
        white-space: pre;
    }
    
    .contact-break::before {
        content: "\A";
        white-space: pre;
    }
    
    .line-break::before {
        content: "\A";
        white-space: pre;
    }
    
    .apply-break::before {
        content: "\A";
        white-space: pre;
    }
    
    .apply-break-tight::before {
        content: "\A";
        white-space: pre;
    }
    
    /* Tighten line spacing for apply-description on mobile */
    .apply-description {
        line-height: 1.4;
    }
    
    .contact-info-break::before {
        content: "\A";
        white-space: pre;
    }
}

/* Small mobile: Even more compact */
@media (max-width: 480px) {
    .about-break::before {
        content: "\A";
        white-space: pre;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .nav {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero {
        padding: 160px 0 60px;
        min-height: 90vh;
        background-attachment: scroll;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        line-height: 1.5;
    }
    
    .hero-info {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .info-item {
        min-width: auto;
        max-width: 320px;
        margin: 0 auto;
        flex: 1;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .details-intro {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        align-items: center;
    }
    
    .footer-info {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cta-button {
        padding: 0.9rem 2rem;
        font-size: 1.1rem;
    }
    
    .cta-button.large {
        padding: 1rem 2.5rem;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 80vh;
        padding: 140px 0 40px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .hero-info {
        margin-bottom: 1.5rem;
    }
    
    .info-item {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 0.3rem 0.5rem;
    }
    
    .detail-card,
    .feature-item {
        padding: 1.2rem;
    }
    
    /* Better utilize horizontal space on small mobile */
    .container {
        padding: 0 18px;
    }
    
    .hero-info {
        max-width: 100%;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .video-message {
        font-size: 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 6px 20px rgba(220, 20, 60, 0.4);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 8px 25px rgba(220, 20, 60, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 6px 20px rgba(220, 20, 60, 0.4);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@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 fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.hero-content {
    animation: fadeIn 1s ease-out;
}

.about-content {
    animation: slideInLeft 0.8s ease-out;
}

.detail-card {
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.detail-card:nth-child(odd) {
    animation-delay: 0.1s;
}

.detail-card:nth-child(even) {
    animation-delay: 0.2s;
}

.feature-item {
    animation: slideInRight 0.8s ease-out;
    animation-fill-mode: both;
}

.feature-item:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-item:nth-child(2) {
    animation-delay: 0.3s;
}

.feature-item:nth-child(3) {
    animation-delay: 0.5s;
}

.about-image {
    animation: float 3s ease-in-out infinite;
}

.about-image:nth-child(2) {
    animation-delay: 1.5s;
}

/* Smooth scrolling enhancement */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .hero-content,
    .about-content,
    .detail-card,
    .feature-item {
        animation: none;
    }
}