/* General Body & Reset Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #FDFCF5;
    color: #3F2F2F;
    line-height: 1.6;
    font-size: 1.0625rem; /* 17px base font size */
}

h1, h2 {
    font-family: 'Kaisei HarunoUmi', serif;
    color: #6D2C2C;
    line-height: 1.2;
    font-weight:normal;
}

h3, h4 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    color: #3F2F2F; 
    line-height: 1.2;
}


a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Header & Navigation */
.main-header {
    background-color: #FDFCF5;
    box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-brand {
    font-size: 2rem;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-menu a {
    font-size: 1.0625remrem;
    text-transform: capitalize;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #6D2C2C;
}

/* Hero Section */
.hero {
    background-image: url('assets/waves.png');
    background-size: cover;
    background-position: center;
    height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: ''; /* This is required for pseudo-elements */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(237, 211, 179, 0.3); /* The color overlay */
    z-index: 1; /* Places the tint above the video */
}

.hero-background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content h1 {
    font-size: 3.8rem;
    max-width: 700px;
    z-index: 1;
    position: relative;
}

/* About Section */
.about-section {
    background-color: #F0E8DE;
    padding: 5rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr 2fr;
    gap: 3rem;
    align-items: flex-start;
}


.about-image img {
    border-radius: 12px;
}

.about-text p:not(:last-child),
    .about-approach p:not(:last-child) {
        margin-bottom: 0.75rem;
    }



.about-approach h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #6D2C2C; 
}
.about-approach h4 {
    font-size: 1.0625rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.about-approach ul {
    list-style-type: '•  ';
    padding-left: 1.5rem;
}

.about-approach li {
    margin-bottom: 0.5rem;
}

/* Services Section */
.services-section {
    padding: 5rem 0;
}

.services-section h2, .pricing-section h2, .media-section h2 {
    font-size: 3rem;
    text-align: left;
    margin-bottom: 3rem;
}

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

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #6D2C2C;
}

/* Pricing Section */
.pricing-section {
    background-color: #F0E8DE;
    padding: 5rem 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.pricing-card {
    background-color: #FDFCF5;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pricing-card h3 {
    font-size: 1.25rem;
    color: #6D2C2C;
}

.pricing-card .price {
    font-family: 'Kaisei HarunoUmi', serif;
    font-size: 2.5rem;
    color: #6D2C2C;
    line-height: 1;
}

.pricing-card .currency {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.0rem;
    color: #3F2F2F;
    font-weight: 600;
}

.pricing-card .duration {
    font-size: 1.0625remrem;
    line-height: 1.5;
}

.pricing-card h4 {
    font-size: 1.125rem;
}

.pricing-card ul {
    list-style: none;
    padding-left: 0;
    flex-grow: 1;
}

.pricing-card li {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236D2C2C'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 24px 24px;
    padding-left: 32px;
    margin-bottom: 1rem;
    min-height: 24px;
}

.pricing-card .price-info {
    flex-grow: 1;
    display: flex;
    align-items: flex-start; /* UPDATED: Aligns text to top */
    padding-top: 1.5rem; /* Adds spacing similar to H4 element */
}

.btn {
    display: inline-block;
    background-color: #EECCD4;
    color: #3F2F2F;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #e6b8c4;
}

/* Media Section */
.media-section {
    padding: 5rem 0;
}

.media-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.media-card {
    display: flex;
    align-items: center;
    border: 1px solid #D3C5C5;
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}
.media-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.media-card img {
    width: 160px;
    height: 100%;
    object-fit: cover;
}

.media-card-content {
    padding: 1.5rem 2rem;
}

.media-card-content h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.media-card-content p {
    font-size: 1.0625rem;
}

/* Footer */
.main-footer-bottom {
    background-color: #2F2323;
    color: #F0E8DE;
    text-align: center;
    padding: 1rem;
}

.main-footer-bottom p {
    font-size: 0.875rem;
}

/* --- Mobile Navigation Styles --- */
.nav-toggle-checkbox {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: relative;
}

.nav-toggle-label span {
    background-color: #3F2F2F;
    border-radius: 2px;
    height: 3px;
    width: 100%;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.nav-toggle-label span:nth-child(1) { top: 4px; }
.nav-toggle-label span:nth-child(2) { top: 13px; }
.nav-toggle-label span:nth-child(3) { top: 22px; }


/* --- Responsive Design --- */

/* Tablet View */
@media (max-width: 992px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .about-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start; /* UPDATED: Aligns image to the left */
        gap: 2rem;
    }
    .about-content .about-text,
    .about-content .about-approach {
        text-align: left;
    }

    
    .about-image {
        width: 200px;
    }
    
    .services-grid, 
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        align-items: start;
    }
}

/* Mobile View */
@media (max-width: 768px) {
    body {
        line-height: 1.7;
    }

    .hero {
        height: 400px;
        text-align: left;
    }
    .hero-content h1 {
        font-size: 2.75rem;
    }
    
    .services-section h2, .pricing-section h2, .media-section h2 { 
        font-size: 2.25rem; 
    }
    h3 {
        font-size: 1.375rem;
    }
    h4 {
        font-size: 1.0625rem;
    }

    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .about-content {
        align-items: flex-start;
        text-align: left;
    }
    .about-image {
        margin: 0;
        width: 160px;
    }
    .about-approach ul {
        padding-left: 1rem;
    }

    .services-grid, .pricing-grid, .media-grid {
        grid-template-columns: 1fr;
    }

    .media-card img {
        width: 120px;
    }
    
    /* Mobile Menu Logic */
    .nav-toggle-label {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background-color: #FDFCF5;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.05);
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 0;
    }

    .nav-menu li { width: 100%; }
    .nav-menu a {
        padding: 1rem;
        display: block;
        width: 100%;
    }

    .nav-toggle-checkbox:checked ~ .nav-menu {
        display: flex;
    }
    
    .nav-toggle-checkbox:checked ~ .nav-toggle-label span:nth-child(1) {
        transform: rotate(45deg);
        top: 13px;
    }

    .nav-toggle-checkbox:checked ~ .nav-toggle-label span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle-checkbox:checked ~ .nav-toggle-label span:nth-child(3) {
        transform: rotate(-45deg);
        top: 13px;
    }
}