/* 
 * BF Kizuna Main Stylesheet
 * Modern, clean design with Japanese influence
 */

/* ----------------- Base Styles ----------------- */
:root {
    /* Color Palette */
    --primary: #e63946;      /* Red accent color */
    --secondary: #1d3557;    /* Dark blue */
    --light: #f1faee;        /* Off-white */
    --accent: #a8dadc;       /* Light teal */
    --dark: #2b2d42;         /* Dark slate */
    
    /* Typography */
    --body-font: 'Noto Sans', 'Segoe UI', sans-serif;
    --heading-font: 'Montserrat', 'Arial', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    
    /* Border Radius */
    --border-radius: 8px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Noto+Sans:wght@400;500;700&display=swap');

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

html {
    font-size: 62.5%; /* Makes 1rem = 10px for easier calculations */
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

ul, ol {
    list-style: none;
}

img, svg {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
    color: var(--secondary);
}

h1 {
    font-size: 4.8rem;
}

h2 {
    font-size: 3.6rem;
}

h3 {
    font-size: 2.4rem;
}

p {
    margin-bottom: var(--spacing-sm);
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.6rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    background: #c7323e;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: var(--primary);
}

.btn-secondary {
    background: var(--secondary);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* ----------------- Header ----------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

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

.logo h1 {
    font-size: 2.4rem;
    margin: 0;
    color: var(--secondary);
}

.logo span {
    color: var(--primary);
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.main-nav a {
    color: var(--secondary);
    font-weight: 500;
    position: relative;
}

.main-nav a:hover {
    color: var(--primary);
}

.main-nav a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2.4rem;
    color: var(--secondary);
    cursor: pointer;
}

/* ----------------- Hero Section ----------------- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--spacing-lg) 0;
    background: linear-gradient(135deg, var(--light), #ffffff);
    position: relative;
    overflow: hidden;
    margin-top: 7rem;
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 5;
}

.hero-content h1 {
    font-size: 5.6rem;
    margin-bottom: var(--spacing-sm);
    color: var(--secondary);
}

.hero-content h1 span {
    color: var(--primary);
    position: relative;
}

.hero-content h1 span:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--primary);
    opacity: 0.3;
    border-radius: var(--border-radius);
}

.hero-subtitle {
    font-size: 2.4rem;
    color: var(--secondary);
    margin-bottom: var(--spacing-md);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.hero-circle {
    position: absolute;
    opacity: 0.1;
    border-radius: 50%;
}

.hero-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background: var(--secondary);
    color: white;
    padding: 15px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    font-weight: 700;
    transform: rotate(15deg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 3;
}

.hero-badge span:first-child {
    font-size: 2rem;
}

.hero-badge span:last-child {
    font-size: 1.4rem;
    opacity: 0.8;
}

.hero-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 50%;
}

.circle-1 {
    top: 10%;
    right: 10%;
    width: 300px;
    height: 300px;
    background: rgba(230, 57, 70, 0.1);
}

.circle-2 {
    bottom: 20%;
    right: 25%;
    width: 200px;
    height: 200px;
    background: rgba(168, 218, 220, 0.2);
}

.circle-3 {
    top: 40%;
    right: 40%;
    width: 150px;
    height: 150px;
    background: rgba(29, 53, 87, 0.1);
}

/* ----------------- Sections ----------------- */
section {
    padding: var(--spacing-lg) 0;
}

.section-header {
    margin-bottom: var(--spacing-lg);
}

.section-subtitle {
    font-size: 1.8rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    display: block;
    margin-bottom: var(--spacing-xs);
}

/* ----------------- Connections Section ----------------- */
.connections-section {
    background-color: white;
}

.connections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

@media (max-width: 992px) {
    .connections-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

.connection-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.connection-icon {
    margin-bottom: var(--spacing-sm);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.connection-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.connection-icon svg {
    width: 80px;
    height: 80px;
    fill: var(--primary);
}

/* ----------------- Entertainment Section ----------------- */
.entertainment-section {
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.entertainment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

@media (max-width: 992px) {
    .entertainment-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

.entertainment-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: white;
}

.entertainment-img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    background-color: #f8f9fa;
}

.entertainment-content {
    padding: var(--spacing-sm);
    background: white;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.entertainment-tag {
    background: var(--primary);
    color: white;
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    position: absolute;
    top: var(--spacing-sm);
    left: var(--spacing-sm);
}

/* ----------------- Featured Section ----------------- */
.featured-section {
    background-color: white;
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.featured-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.featured-text h2 {
    margin-bottom: var(--spacing-sm);
}

.features-list {
    margin: var(--spacing-md) 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--spacing-sm);
}

.feature-icon {
    margin-right: var(--spacing-sm);
    color: var(--primary);
    font-size: 2.4rem;
}

/* ----------------- About Section ----------------- */
.about-section {
    background-color: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.responsible-note {
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: rgba(29, 53, 87, 0.05);
    border-radius: var(--border-radius);
    border-left: 3px solid var(--primary);
}

.timeline {
    margin-top: var(--spacing-md);
}

.timeline-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: var(--spacing-sm);
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
}

.timeline-item:after {
    content: '';
    position: absolute;
    left: 5px;
    top: 12px;
    bottom: -12px;
    width: 2px;
    background: var(--primary);
    opacity: 0.3;
}

.timeline-item:last-child:after {
    display: none;
}

.timeline-year {
    font-weight: 700;
    color: var(--secondary);
}

/* ----------------- Contact Section ----------------- */
.contact-section {
    background-color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-lg);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-item {
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    color: var(--primary);
    font-size: 2.4rem;
    margin-right: var(--spacing-sm);
}

.form-group {
    margin-bottom: var(--spacing-sm);
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--body-font);
    font-size: 1.6rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(168, 218, 220, 0.3);
}

/* ----------------- Newsletter Section ----------------- */
.newsletter-section {
    background-color: var(--secondary);
    color: white;
    padding: var(--spacing-md) 0;
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
}

.newsletter-text h2 {
    color: white;
    margin-bottom: var(--spacing-xs);
}

.newsletter-form .form-group {
    display: flex;
    margin-bottom: 0;
}

.newsletter-form input {
    flex: 1;
    padding: 1.2rem;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.newsletter-form button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* ----------------- Footer ----------------- */
.site-footer {
    background-color: var(--dark);
    color: white;
    padding: var(--spacing-lg) 0 var(--spacing-sm);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-brand h2 {
    color: white;
    margin-bottom: var(--spacing-sm);
}

.footer-brand span {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
}

.footer-link-group h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
}

.footer-link-group ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-link-group a {
    color: #bbb;
}

.footer-link-group a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.footer-legal a {
    color: #bbb;
    font-size: 1.4rem;
}

.separator {
    color: rgba(255, 255, 255, 0.3);
}

/* ----------------- Responsive ----------------- */
@media (max-width: 992px) {
    html {
        font-size: 60%;
    }
    
    .featured-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: 0;
        background: white;
        overflow: hidden;
        transition: var(--transition);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav.active {
        height: auto;
        padding: var(--spacing-md) 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        width: 100%;
        padding: 0 var(--spacing-md);
    }
    
    .main-nav a {
        display: block;
        padding: var(--spacing-xs) 0;
    }
    
    .hero-content h1 {
        font-size: 3.6rem;
    }
    
    .hero-subtitle {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-badge {
        display: none;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 2.8rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
    
    .separator {
        display: none;
    }
}
