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

body {
    font-family: 'Noto Sans JP', 'Source Han Sans JP', sans-serif;
    line-height: 1.6;
    color: #2D3748;
    background-color: #F7FAFC;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, #2B4C7E 0%, #1A365D 100%);
    color: white;
    padding: 1rem 0;
}

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

.logo-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-brand a {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
}

.logo {
    width: 60px;
    height: 60px;
}

.brand-name {
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 2px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2B4C7E 0%, #48BB78 100%);
    color: white;
    padding: 5rem 0;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-button.primary {
    background: #48BB78;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button.primary:hover {
    background: #38A169;
    transform: translateY(-2px);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button.secondary:hover {
    background: white;
    color: #2B4C7E;
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    width: 100%;
    max-width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Section Styles */
.centered-section {
    text-align: center;
}

.centered-section .container {
    text-align: center;
}

.centered-section .content-columns {
    text-align: left;
}

section {
    padding: 4rem 0;
}

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

/* Services Overview */
.services-overview {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #F7FAFC;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2D3748;
}

.service-card p {
    color: #4A5568;
    line-height: 1.6;
}

/* Content Sections */
.birth-chart-section,
.horoscope-section,
.crystal-section,
.moon-ritual-section {
    padding: 5rem 0;
}

.birth-chart-section {
    background: white;
}

.horoscope-section {
    background: #F7FAFC;
}

.crystal-section {
    background: white;
}

.moon-ritual-section {
    background: #F7FAFC;
}

.content-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.content-columns.reverse {
    direction: rtl;
}

.content-columns.reverse > * {
    direction: ltr;
}

.text-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #2D3748;
}

.text-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #4A5568;
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: #4A5568;
}

.feature-list li:before {
    content: "✦";
    position: absolute;
    left: 0;
    color: #48BB78;
    font-weight: bold;
}

.service-button {
    background: #2B4C7E;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-button:hover {
    background: #1A365D;
}

.image-content {
    display: flex;
    justify-content: center;
}

.image-content .image-placeholder {
    background: #E2E8F0;
    border: 2px dashed #CBD5E0;
    padding: 3rem;
    text-align: center;
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
    color: #718096;
}

.content-img {
    width: 100%;
    max-width: 400px;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.about-img {
    width: 100%;
    max-width: 350px;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Products Section */
.products-section {
    background: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: #F7FAFC;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 200px;
    background: #E2E8F0;
    border-bottom: 1px solid #CBD5E0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image .image-placeholder {
    color: #718096;
    font-size: 0.9rem;
    background: none;
    border: none;
    padding: 0;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 1.5rem 1.5rem 1rem;
    color: #2D3748;
}

.product-card p {
    color: #4A5568;
    line-height: 1.6;
    margin: 0 1.5rem 1rem;
    font-size: 0.95rem;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #48BB78;
    margin: 1rem 1.5rem;
}

.product-button {
    background: #48BB78;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    width: calc(100% - 3rem);
    margin: 0 1.5rem 1.5rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-button:hover {
    background: #38A169;
}

/* Calendar Section */
.calendar-section {
    background: #F7FAFC;
}

.calendar-widget {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #E2E8F0;
}

.calendar-placeholder h4 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #2D3748;
    font-size: 1.3rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
}

.calendar-day {
    background: #F7FAFC;
    padding: 1rem;
    text-align: center;
    border-radius: 6px;
    border: 1px solid #E2E8F0;
    font-weight: 600;
    color: #2D3748;
}

.calendar-day.special {
    background: #48BB78;
    color: white;
}

.day-info {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    margin-top: 0.25rem;
    opacity: 0.8;
}

/* Contacts Section */
.contacts-section {
    background: white;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: #F7FAFC;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #E2E8F0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-details h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2D3748;
}

.contact-details p {
    color: #4A5568;
    line-height: 1.5;
}

/* Footer */
.footer {
    background: #2D3748;
    color: white;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-brand {
    flex: 1;
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo .logo {
    width: 40px;
    height: 40px;
}

.footer-brand-name {
    font-size: 1.5rem;
    font-weight: 500;
    color: white;
}

.footer-description {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.5;
}

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

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #48BB78;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    opacity: 0.9;
}

.footer-links a:hover {
    color: #48BB78;
    opacity: 1;
}

.footer-section p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

.footer-info {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #4A5568;
}

.footer-info p {
    opacity: 0.8;
    margin: 0;
    font-size: 0.9rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: #718096;
}

.close:hover {
    color: #2D3748;
}

.modal-content h2 {
    margin-bottom: 1.5rem;
    color: #2D3748;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2D3748;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #CBD5E0;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #48BB78;
    box-shadow: 0 0 0 3px rgba(72, 187, 120, 0.1);
}

.submit-button {
    background: #48BB78;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: #38A169;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .brand-name {
        font-size: 1.5rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .content-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-columns.reverse {
        direction: ltr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
        gap: 2rem;
    }
    
    .footer-brand {
        text-align: center;
        max-width: none;
    }
    
    .calendar-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-custom-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button.primary,
    .cta-button.secondary {
        width: 100%;
        max-width: 250px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .text-content h2 {
        font-size: 1.8rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .calendar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-custom-buttons {
        flex-direction: column;
    }
}