/* CSS/style.css */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

:root {
    --primary-color: #2D5A27;
    /* Deep professional green */
    --accent-color: #FFD700;
    /* Energetic yellow */
    --bg-color: #ffffff;
    --text-color: #1a1a1a;
    --text-light: #666666;
    --section-padding: 70px;
    --container-max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 0.05em;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    padding-top: 68px; /* Fixed header offset for mobile */
}

@media (min-width: 1024px) {
    body {
        padding-top: 84px; /* Fixed header offset for desktop */
    }
}

/* Ensure standard body text follows the 16px/14px rule */
p, li, dt, dd {
    font-size: 16px !important;
}

.sp-only {
    display: none;
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    .sp-only {
        display: block;
    }
    
    p, li, dt, dd {
        font-size: 14px !important;
    }

    .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* Base Layout */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
    margin-bottom: 0 !important;
    /* Remove extra margin between sections */
}

/* Title Design */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.1em;
    position: relative;
    display: inline-block;
    line-height: 1.4;
}

.section-title h2 span {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-color);
    letter-spacing: 0.4em;
    margin-bottom: 15px;
    font-family: sans-serif;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 1px;
    background-color: var(--primary-color);
}

.section-title h2::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background-color: var(--accent-color);
    margin-bottom: -4px;
}

@media (max-width: 768px) {
    .section-title {
        margin-bottom: 40px;
    }
    .section-title h2 {
        font-size: 1.6rem;
    }
    .section-title h2 span {
        font-size: 0.75rem;
        letter-spacing: 0.3em;
        margin-bottom: 10px;
    }
}

/* Image Reset & Styles */
img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Unique Image Styles per Section */
.img-style-1 {
    clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);
    -webkit-clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);
    animation: waveMotion 6s ease-in-out infinite;
    transform-origin: center;
}

@keyframes waveMotion {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(4px, -10px) rotate(1deg);
    }
    50% {
        transform: translate(0, -20px) rotate(0deg);
    }
    75% {
        transform: translate(-4px, -10px) rotate(-1deg);
    }
}

.img-style-2 {
    border-left: 8px solid var(--accent-color);
}

.img-style-3 {
    border-right: 8px solid var(--primary-color);
}

.img-style-4 {
    position: relative;
}

.img-style-4::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-color);
    z-index: -1;
}

/* Header */
header {
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: all 0.4s ease;
    position: fixed;
    top: 0;
    left: 0;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    padding: 10px 0;
}

/* First View */
#fv {
    padding-top: 0;
    padding-bottom: 0;
}

.fv-container {
    width: 100%;
    height: calc(100vh - 68px);
    height: calc(100dvh - 68px); /* Support for mobile address bar */
    min-height: 850px; 
    position: relative;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .fv-container {
        height: calc(100vh - 84px);
        height: calc(100dvh - 84px);
    }
}

/* Add a subtle dark gradient to ensure text readability */
.fv-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 70%);
    z-index: 5;
}

.swiper-fv,
.swiper-fv .swiper-wrapper,
.swiper-fv .swiper-slide {
    height: 100%;
}

.swiper-fv .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform 10s ease-out; /* Slow zoom effect */
}

.swiper-slide-active img {
    transform: scale(1.1);
}

/* FV Overlay Content */
.fv-overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.fv-overlay-content .container {
    pointer-events: auto;
    height: 100%;
    margin-left: 5%; /* Align to the left with a 5% margin */
    margin-right: auto;
    max-width: 1200px; /* Keep the max width for the grid to stay tight */
}

.catchphrase-wrapper {
    max-width: 900px;
    color: #fff;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.sub-catch {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 15px;
    color: var(--accent-color);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.main-catch {
    line-height: 1.2;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.main-catch .line-1 {
    font-size: clamp(1.5rem, 3.5vw, 3rem);
    opacity: 0.9;
}

.main-catch .line-2 {
    font-size: clamp(2.2rem, 5.5vw, 5rem); /* Make the main message bigger */
    font-weight: 900;
    color: #fff;
    position: relative;
    display: inline-block;
}

/* Subtle highlight under the second line */
.main-catch .line-2::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(255, 215, 0, 0.4); /* Gold highlight */
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    animation: highlightReveal 1s ease forwards 1s;
}

@keyframes highlightReveal {
    to { transform: scaleX(1); }
}

/* Service Circles Grid - Redesigned for Impact */
.service-circles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Larger 3-column layout */
    gap: 40px 30px;
    margin-top: 50px;
    max-width: 900px;
}

.service-circle-item {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center the image and text relative to each other */
    text-align: center; /* Center the text text */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: float 4s ease-in-out infinite; /* Continuous floating animation */
}

/* Staggered delays for a more organic feel */
.service-circle-item:nth-child(1) { animation-delay: 0s; }
.service-circle-item:nth-child(2) { animation-delay: 0.5s; }
.service-circle-item:nth-child(3) { animation-delay: 1s; }
.service-circle-item:nth-child(4) { animation-delay: 1.5s; }
.service-circle-item:nth-child(5) { animation-delay: 2s; }
.service-circle-item:nth-child(6) { animation-delay: 2.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); } /* Smooth up and down movement */
}

.service-circle-item:hover {
    transform: scale(1.1) translateY(-10px) !important;
    animation-play-state: paused; /* Pause floating while hovering for focus */
}

.circle-img {
    width: 180px; /* Significantly larger */
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #fff;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3), 0 0 20px rgba(255,255,255,0.2);
    margin-bottom: 15px;
    background: #fff;
    position: relative;
}

.circle-img::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.2);
    z-index: 2;
    border-radius: 50%;
}

.circle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-circle-item:hover img {
    transform: scale(1.15);
}

.service-circle-item p {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    letter-spacing: 0.05em;
}

.fv-cta {
    display: inline-block;
    background: var(--accent-color);
    color: #333;
    padding: 28px 100px; /* Increased width from 80px */
    font-weight: 800;
    font-size: 1.8rem; /* Larger font size */
    border-radius: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    letter-spacing: 0.1em;
}

.fv-cta:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

/* FV Promotional Stamp Badge */
.fv-promo-stamp {
    position: absolute;
    bottom: 150px; /* Moved up significantly from 60px */
    right: 5%;
    z-index: 100;
    width: 220px;
    height: 220px;
    background: #d32f2f; /* Deep red for campaign impact */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 15px 40px rgba(211, 47, 47, 0.4);
    border: 3px dashed rgba(255,255,255,0.4);
    outline: 8px solid #d32f2f;
    transition: all 0.4s ease;
    animation: stampPulse 3s infinite;
}

.fv-promo-stamp:hover {
    transform: scale(1.1) rotate(5deg);
    background: #b71c1c;
}

.stamp-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stamp-tag {
    font-size: 0.85rem;
    font-weight: 800;
    background: #fff;
    color: #d32f2f;
    padding: 2px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
    letter-spacing: 0.1em;
}

.stamp-main {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 5px;
}

.stamp-off {
    display: flex;
    align-items: baseline;
    font-weight: 900;
}

.stamp-off .amount {
    font-size: 2.8rem;
    line-height: 1;
}

.stamp-off .unit {
    font-size: 1rem;
    margin-right: 4px;
}

.stamp-off .off-label {
    font-size: 1.2rem;
    color: #ffd700; /* Gold "OFF" label */
}

@keyframes stampPulse {
    0% { transform: scale(1); box-shadow: 0 15px 40px rgba(211, 47, 47, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 20px 50px rgba(211, 47, 47, 0.6); }
    100% { transform: scale(1); box-shadow: 0 15px 40px rgba(211, 47, 47, 0.4); }
}

.fv-promo-banner:hover {
    transform: translateY(-5px);
}

.fv-promo-banner .inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fv-promo-banner .tag {
    background-color: var(--accent-color);
    color: #333;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 5px 18px;
    display: inline-block;
    margin-bottom: 15px;
    letter-spacing: 0.2em;
    border-radius: 50px;
}

.fv-promo-banner .main-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.fv-promo-banner .off-text {
    font-size: 3.5rem;
    font-weight: 800;
    color: #d32f2f;
    line-height: 1;
    display: flex;
    align-items: baseline;
}

.fv-promo-banner .off-label {
    font-size: 1.2rem;
    margin-left: 8px;
    font-weight: 700;
}

@media (max-width: 1024px) {
    .fv-promo-banner {
        padding: 25px 35px;
        bottom: 40px;
    }

    .fv-promo-banner .main-text {
        font-size: 1.5rem;
    }

    .fv-promo-banner .off-text {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .fv-overlay-content .container {
        margin-left: auto; /* Re-center on mobile */
        margin-right: auto;
        padding: 0 20px;
    }

    .fv-container {
        height: auto;
        min-height: auto;
        display: flex;
        flex-direction: column;
    }

    .swiper-fv {
        height: 60vh; /* Image height on mobile */
        width: 100%;
        z-index: 1;
    }

    .fv-overlay-content {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        height: auto;
        z-index: 10;
        background: #fff; /* White background for the text area on mobile */
        padding: 60px 0 140px; /* Increased bottom padding for sticky CTA */
        pointer-events: auto;
    }

    .fv-container::after {
        display: none; /* Hide the dark gradient overlay on mobile */
    }

    .catchphrase-wrapper {
        color: var(--text-color);
        text-shadow: none;
        text-align: center;
        max-width: 100%;
    }

    .main-catch .line-1 {
        font-size: 1.3rem;
        color: var(--primary-color); /* Changed to primary for better visibility on white */
        font-weight: 700;
    }

    .main-catch .line-2 {
        font-size: 2.2rem;
        color: var(--primary-color);
        margin-top: 10px;
    }

    .sub-catch {
        font-size: 1rem;
        margin-bottom: 20px;
        color: #000;
        text-shadow: none;
    }

    .service-circles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px 15px;
        margin-top: 40px;
        max-width: 100%;
    }

    .service-circle-item p {
        color: var(--text-color);
        text-shadow: none;
        font-size: 0.85rem;
    }

    .circle-img {
        width: 130px;
        height: 130px;
        border: 4px solid var(--primary-color);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

    .fv-cta {
        margin-top: 40px;
        padding: 18px 30px;
        font-size: 1.2rem;
        width: 100%;
        text-align: center;
        border-radius: 8px;
    }

    .fv-promo-stamp {
        width: 130px;
        height: 130px;
        position: absolute;
        top: 35vh; /* Moved even higher onto the image */
        right: 15px;
        transform: translateY(-50%); /* Center the stamp on the edge line */
        z-index: 100;
        box-shadow: 0 10px 30px rgba(211, 47, 47, 0.5);
    }

    .stamp-tag { font-size: 0.65rem; padding: 2px 8px; margin-bottom: 3px; }
    .stamp-main { font-size: 0.75rem; letter-spacing: -0.02em; margin-bottom: 3px; }
    .stamp-off .amount { font-size: 20px; line-height: 1; }
    .stamp-off .off-label { font-size: 0.8rem; }
}

/* Animations */
.text-reveal {
    display: block;
    overflow: hidden;
}

.text-reveal span {
    display: block;
    animation: reveal 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
    transform: translateY(100%);
}

@keyframes reveal {
    0% { transform: translateY(100%); }
    100% { transform: translateY(0); }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.delay-300 { animation-delay: 0.3s; }
.delay-600 { animation-delay: 0.6s; }
.delay-900 { animation-delay: 0.9s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    color: #fff;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scroll-indicator span {
    margin-bottom: 10px;
}

.scroll-indicator::after {
    content: '';
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, #fff, transparent);
    animation: scrollLine 2.5s infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Marquee Gallery */
.marquee-wrapper {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    padding: 20px 0;
}

.marquee-content {
    display: flex;
    animation: marquee 30s linear infinite;
}

.marquee-content:hover {
    /* Instructions: never stop or pause */
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.marquee-item {
    flex: 0 0 auto;
    width: 450px; /* Increased from 300px */
    margin-right: 30px;
}

.marquee-item img {
    width: 100%;
    height: 350px; /* Increased from 200px */
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Premium Reveal Animations */
.reveal {
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
    will-change: transform, opacity;
}

.reveal-up {
    transform: translateY(50px);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-scale {
    transform: scale(0.9);
}

.reveal.visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* Staggered Delay Helpers */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }
.delay-600 { transition-delay: 0.6s; }

/* Fade In Animation (Legacy support) */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Lightbox Centering Fix */
.lum-lightbox {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.lum-lightbox-inner {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
}

/* Hide redundant buttons in Luminous if any */
.lum-close-button::after {
    /* Customize if needed */
}

/* CTA Buttons */
.btn-reserve {
    background-color: var(--accent-color);
    color: #333;
    padding: 18px 80px; /* Increased from 45px */
    font-size: 1.2rem;
    font-weight: 800;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Parallax fix for iOS Safari */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (hover: none) {
    .parallax-bg {
        background-attachment: scroll; /* Fixed is broken on iOS */
    }
}

/* Back to Top */
#back-to-top {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 900;
}

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

/* Sticky CTA SP */
.sticky-cta-sp {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    z-index: 1000;
    padding-bottom: env(safe-area-inset-bottom);
    background-color: #333; /* Base color for the safe area */
}

@media (min-width: 1024px) {
    .sticky-cta-sp {
        display: none;
    }
}

.sticky-cta-sp a {
    flex: 1;
    text-align: center;
    padding: 20px;
    font-weight: 800;
    font-size: 1.1rem;
    text-decoration: none;
    color: #fff;
    letter-spacing: 0.05em;
}

.cta-tel {
    background-color: #333;
}

.cta-insta {
    background-color: #E1306C;
}

/* Hamburger */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    visibility: hidden;
    pointer-events: none;
}

.menu-overlay.active {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
}

.menu-overlay a {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    margin: 20px 0;
    letter-spacing: 0.15em;
    transition: all 0.3s ease;
    text-align: center;
}

.menu-overlay a:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.menu-overlay .btn-insta-mobile {
    background-color: var(--accent-color);
    color: #333;
    padding: 15px 50px;
    font-weight: 800;
    border-radius: 50px;
    margin-top: 30px;
    font-size: 1.1rem;
}

.close-menu {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    color: var(--text-light);
    border: 1px solid #ddd;
    padding: 8px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.close-menu:hover {
    background: #f5f5f5;
    color: #333;
}

/* Grid */
.asymmetry-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 1024px) {
    .asymmetry-grid {
        gap: 30px;
    }

    .asymmetry-grid.ratio-4-6 {
        grid-template-columns: 4fr 6fr;
    }

    .asymmetry-grid.ratio-6-4 {
        grid-template-columns: minmax(auto, 570px) 1fr;
    }

    .asymmetry-grid.ratio-5-5 {
        grid-template-columns: 5fr 5fr;
    }

    /* Subtle staggered effect for premium layouts */
    .asymmetry-grid.items-center > *:first-child {
        margin-top: -10px;
    }
    .asymmetry-grid.items-center > *:last-child {
        margin-top: 10px;
    }
}

/* Broken Grid */
.broken-grid-offset {
    position: relative;
    padding: 20px;
}

@media (min-width: 1024px) {
    .offset-image {
        transform: translate(40px, -40px);
    }

    .offset-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--accent-color);
        z-index: -1;
    }
}

/* Problem List in TV Section */
.problem-list {
    list-style: none;
    padding: 0;
}

.problem-list li {
    position: relative;
    padding: 20px 25px 20px 60px;
    background: linear-gradient(to right, var(--primary-color) 50%, #fff 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    margin-bottom: 15px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease-out;
    font-weight: 500;
    font-size: 1.1rem;
    line-height: 1.6;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.problem-list li::before {
    content: '✓';
    position: absolute;
    left: 20px;
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(45, 90, 39, 0.3);
    transition: all 0.4s ease;
    z-index: 2;
}

.problem-list li:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background-position: left bottom;
    color: #fff;
}

.problem-list li:hover::before {
    background: #fff;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .problem-list li {
        padding: 15px 20px 15px 50px;
        font-size: 0.95rem;
    }
    .problem-list li::before {
        left: 12px;
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }
}

/* About Section Redesign */
.about-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15rem;
    font-weight: 900;
    color: rgba(45, 90, 39, 0.03);
    z-index: 0;
    white-space: nowrap;
    user-select: none;
    pointer-events: none;
}

.about-image-wrapper {
    position: relative;
    padding-right: 30px;
    padding-bottom: 30px;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80%;
    height: 80%;
    background: var(--accent-color);
    z-index: -1;
}

.img-style-premium {
    width: 100%;
    height: 500px;
    object-fit: cover;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.1);
}

.about-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 10px 30px rgba(45, 90, 39, 0.3);
    border: 4px solid #fff;
    z-index: 2;
    animation: badgeFloat 4s ease-in-out infinite;
}

.about-badge .number {
    font-size: 1.2rem;
    font-weight: 900;
    line-height: 1;
}

.about-badge .label {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0) rotate(5deg); }
    50% { transform: translateY(-10px) rotate(-5deg); }
}

@media (max-width: 1024px) {
    .about-bg-text {
        font-size: 8rem;
    }
    .img-style-premium {
        height: 400px;
    }
}

/* Service Card Redesign */
.service-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

.service-img-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-img-wrapper img {
    transform: scale(1.1);
}

.service-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-color);
    color: #fff;
    padding: 6px 15px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    border-radius: 50px;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(45, 90, 39, 0.3);
}

.service-content {
    padding: 30px 20px;
    text-align: left;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card h3 {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    transform: none;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
}

@media (max-width: 768px) {
    .service-img-wrapper {
        height: 200px;
    }
    .service-content {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .marquee-item {
        width: 280px;
        margin-right: 15px;
    }
    .marquee-item img {
        height: 200px;
    }
}

/* Message Section Redesign */
.message-img-wrapper {
    position: relative;
    padding: 10px;
}

.img-message-arch {
    width: 100%;
    height: auto;
    border-radius: 200px 200px 0 0; /* Arch shape */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 10px solid #fff;
    object-fit: cover;
}

.message-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: var(--accent-color);
    color: #333;
    padding: 15px 25px;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
    z-index: 2;
    transform: rotate(5deg);
}

.message-text-content {
    position: relative;
}

.message-text-content::before {
    content: '"';
    position: absolute;
    top: -40px;
    left: -20px;
    font-size: 8rem;
    color: rgba(45, 90, 39, 0.05);
    font-family: serif;
    line-height: 1;
}

@media (max-width: 1024px) {
    .img-message-arch {
        border-radius: 150px 150px 0 0;
    }
}
/* Responsive Overrides */
@media (max-width: 1024px) {
    .p-8, .p-10 {
        padding: 40px 10px !important;
    }
}
/* Logo Styles */
.logo-wrapper {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.nav-logo {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

@media (min-width: 1024px) {
    .logo-wrapper {
        width: 48px;
        height: 48px;
    }
}

.logo-text {
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.nav-btn {
    background-color: var(--accent-color);
    color: #333;
    padding: 10px 25px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.nav-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.nav-tel {
    color: var(--primary-color);
    font-weight: 700;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.nav-tel:hover {
    color: var(--accent-color);
}
