/* ========================================
   ABSENT FRIENDS - MAIN STYLESHEET
   ======================================== */

/* ========================================
   FONTS & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    overflow-x: hidden;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    height: 100vh;
    background: white;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 80px;
}

.hero-container {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

.hero-image {
    flex: 0 0 50%;
    max-width: 50%;
    height: 100vh;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-content {
    flex: 1;
    padding: 0 4rem;
    text-align: left;
    color: #333;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 600px;
}

.hero-title {
    font-family: 'Migra', serif;
    font-size: 4.5rem;
    font-weight: 200;
    line-height: 1.1;
    margin-bottom: 0;
    color: #333;
}

.hero-subtitle {
    font-family: 'Migra', serif;
    font-size: 4.5rem;
    font-weight: 200;
    font-style: italic;
    line-height: 1.1;
    margin-bottom: 40px;
    color: #333;
}

.learn-more-btn {
    display: inline-block;
    padding: 15px 45px;
    background: transparent;
    border: 2px solid #333;
    border-radius: 50px;
    color: #333;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.learn-more-btn:hover {
    background: #333;
    color: white;
    transform: translateY(-2px);
}

/* ========================================
   MEMORY CARDS SECTION
   ======================================== */
.memory-section {
    width: 100%;
    overflow: hidden;
}

.memory-image {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   MEMORIAL CREATION SECTION
   ======================================== */
.memorial-section {
    width: 100%;
    background: white;
    padding: 60px 0;
}

.memorial-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
    gap: 40px;
}

.date-start, .date-end {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.2rem;
    color: #333;
    font-weight: 300;
}

.date-line {
    width: 800px;
    height: 1px;
    background: #333;
}

.memorial-content {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    gap: 40px;
    align-items: center;
    position: relative;
    padding: 0 2rem;
}

.memorial-gallery {
    display: flex;
    flex-direction: row;
    gap: 0;
    flex: 1;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    flex: 1;
}

.gallery-item img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.play-button {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.memorial-text {
    flex: 0 0 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 20px;
}

.memorial-title {
    font-family: 'Migra', serif;
    font-size: 4.5rem;
    font-weight: 200;
    line-height: 1.1;
    margin-bottom: 40px;
    color: #333;
    text-align: center;
}

.create-memorial-btn {
    background: transparent;
    border: 2px solid #333;
    color: #333;
    padding: 15px 40px;
    border-radius: 50px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.create-memorial-btn:hover {
    background: #333;
    color: white;
    transform: translateY(-2px);
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section {
    background: white;
    padding: 80px 0;
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: #333;
}

.about-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: #333;
}

.about-container {
    display: flex;
    width: 100%;
    align-items: center;
    position: relative;
}

.about-content {
    flex: 1;
    padding: 0 4rem 0 2rem;
    max-width: 700px;
}

.hashtag {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.about-brand {
    font-family: 'Migra', serif;
    font-size: 2rem;
    font-weight: 200;
    color: #333;
    text-align: center;
    letter-spacing: 0.2em;
    margin-bottom: 3rem;
    position: relative;
}

.about-brand::before {
    content: '';
    position: absolute;
    top: -1rem;
    left: 0;
    right: 0;
    height: 1px;
    background: #333;
}

.about-title {
    font-family: 'Migra', serif;
    font-size: 3.5rem;
    font-weight: 200;
    color: #333;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-align: center;
}

.about-title .italic {
    font-style: italic;
}

.about-description {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 3rem;
}

.about-description p {
    margin-bottom: 1.5rem;
}

.about-features {
    list-style: none;
    padding: 0;
}

.about-features li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 0;
}

.about-features li::before {
    content: '•';
    color: #333;
    font-weight: bold;
    position: absolute;
    left: -15px;
}

.about-graphic {
    width: 50vw;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.about-graphic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
}

.about-btn {
    background: transparent;
    border: 2px solid #333;
    color: #333;
    padding: 15px 40px;
    border-radius: 50px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
}

.about-btn:hover {
    background: #333;
    color: white;
    transform: translateY(-2px);
}

/* ========================================
   MEMORIES SECTION
   ======================================== */
.memories-section {
    width: 100%;
    overflow: hidden;
}

.memories-bg {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   TESTIMONIAL SECTION
   ======================================== */
.testimonial-section {
    background: white;
    padding: 100px 0;
}

.testimonial-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.testimonial-hashtag {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    letter-spacing: 0.1em;
    margin-bottom: 4rem;
}

.testimonial-main {
    display: flex;
    align-items: center;
    gap: 6rem;
}

.photo-collages {
    flex: 0 0 600px;
    position: relative;
    height: 500px;
}

.photo-collages img {
    display: block;
}

.grid-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.testimonial-text {
    flex: 1;
    position: relative;
}

@media (max-width: 768px) {
    .testimonial-heading {
        text-align: center;
        max-width: 100%;
    }
}

.quote-mark {
    font-size: 8rem;
    color: #c5a394;
    font-family: 'Times New Roman', serif;
    position: absolute;
    top: -2rem;
    right: 0;
    line-height: 1;
}

.testimonial-heading {
    font-family: 'Migra', serif;
    font-size: 3.5rem;
    font-weight: 200;
    color: #c5a394;
    line-height: 1.2;
    margin-bottom: 2rem;
    max-width: 600px;
    font-style: italic;
}

.testimonial-description {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 2rem;
    max-width: 600px;
}

.testimonial-author {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    color: #c5a394;
    font-style: italic;
    margin-bottom: 3rem;
}

.testimonial-btn {
    background: transparent;
    border: 2px solid #333;
    color: #333;
    padding: 15px 40px;
    border-radius: 50px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 2rem;
}

.testimonial-btn:hover {
    background: #333;
    color: white;
    transform: translateY(-2px);
}

.testimonial-arrow {
    display: inline-block;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.testimonial-arrow:hover {
    transform: translateX(5px);
}