/**
 * Landing Page CSS - Wedding Photography Style
 * Style cho trang profile/@username theo phong cách landing page wedding
 */

/* ===== GLOBAL STYLES ===== */
.member-landing-page {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: all 0.3s ease;
}

.landing-header.sticky {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    flex-direction: row;
}

.header-logo img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1) drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
    transition: all 0.3s;
}

.landing-header.sticky .header-logo img {
    filter: none;
}

.header-logo h2 {
    margin: 0;
    font-size: 24px;
    color: var(--text-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    transition: all 0.3s;
}

.landing-header.sticky .header-logo h2 {
    color: var(--primary-color);
    text-shadow: none;
}

/* Navigation Menu */
.header-nav {
    display: flex;
    align-items: center;
}

.header-nav .nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 15px;
    align-items: center;
}

.header-nav .nav-menu li {
    margin: 0;
    padding: 0;
}

.header-nav .nav-menu li a {
    text-decoration: none;
    color: var(--text-white);
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s;
    padding: 8px 12px;
    border-bottom: 2px solid transparent;

    display: block;
    border-radius: 4px;
}

.landing-header.sticky .header-nav .nav-menu li a {
    color: var(--text-primary);
    text-shadow: none;
}

.header-nav .nav-menu li a:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.landing-header.sticky .header-nav .nav-menu li a:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--bg-primary);
    transition: all 0.3s;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.landing-header.sticky .mobile-menu-toggle span {
    background: var(--text-primary);
    box-shadow: none;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.placeholder-hero {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--text-white);
    font-weight: bold;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 3;
    text-align: center;
    color: var(--text-white);
}

.hero-title {
    font-size: 56px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 50%;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
}

.slider-prev,
.slider-next {
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid var(--text-white);
    color: var(--text-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 30px;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.slider-dots {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dots .dot.active {
    background: var(--bg-primary);
    width: 30px;
    border-radius: 6px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 165, 116, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* ===== SECTION STYLES ===== */
.member-landing-page section {
    padding: 80px 0;
}

.member-landing-page .hero-section {
    padding: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--primary-color);
    font-style: italic;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image-single {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    aspect-ratio: 4 / 3;
    background: #f0f0f0;
}

.about-image-single img,
.about-image-single svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-image-1,
.about-image-2 {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image-1 {
    grid-column: 1 / 3;
    height: 300px;
}

.about-image-2 {
    grid-column: 1 / 3;
    height: 250px;
}

.about-image-1 img,
.about-image-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.placeholder-about {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 32px;
}

.about-text h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #6b7280;
}

.about-features {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.feature-text h4 {
    margin: 0 0 5px 0;
    color: var(--text-primary);
}

.feature-text p {
    margin: 0;
    color: #6b7280;
}

/* ===== SERVICES SECTION ===== */
.services-section {
    background: var(--bg-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--bg-primary);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-card.featured {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: var(--text-white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.service-price {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px 0;
    text-align: left;
}

.service-features li {
    padding: 8px 0;
    color: #6b7280;
    border-bottom: 1px solid var(--border-light);
}

/* ===== ALBUMS SECTION ===== */
.albums-section {
    background: var(--bg-secondary);
}

.album-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.album-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    height: 300px;
}

.album-image {
    width: 100%;
    height: 100%;
    transition: transform 0.5s;
}

.album-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s;
}

.album-item:hover .album-image img {
    transform: scale(1.1);
}

.album-item:hover .album-image {
    transform: none;
}

.placeholder-album {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 48px;
}

.album-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--text-white);
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.album-item:hover .album-overlay {
    transform: translateY(0);
}

.album-overlay h4 {
    margin: 0 0 5px 0;
    font-size: 20px;
}

.album-overlay p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    background: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-primary);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-rating {
    font-size: 20px;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    gap: 15px;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.placeholder-avatar {
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 24px;
}

.author-info h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: var(--text-primary);
}

.author-info p {
    margin: 0;
    font-size: 14px;
    color: var(--text-light);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: var(--bg-primary);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info h3,
.contact-form h3 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-details h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: var(--text-primary);
}

.contact-details p {
    margin: 0;
    color: #6b7280;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-social {
    margin-top: 30px;
}

.contact-social h4 {
    margin-bottom: 15px;
    color: var(--text-primary);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--text-white);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
}

.social-link svg {
    flex-shrink: 0;
}

.social-link span {
    line-height: 1;
}

.social-link:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

/* Contact Form */
.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* ===== FOOTER ===== */
.landing-footer {
    background: var(--text-primary);
    color: var(--text-white);
    padding: 30px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-logo img {
    height: 50px;
    margin-bottom: 15px;
}

.footer-col p {
    color: #bbb;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bbb;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--text-white);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-hover);
    transform: translateY(-5px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .services-grid,
    .album-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        
    }

    .header-inner {
        position: relative;
    }

    .header-nav .nav-menu {
        position: fixed;
        top: 58px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem 0;
        display: none;
        z-index: 999;
    }

    .landing-header.sticky .header-nav .nav-menu {
        top: 58px;
        background: white;
    }

    .header-nav .nav-menu.active {
        display: flex;
        gap: 0px;
    }

    .header-nav .nav-menu li {
        margin: 0;
        padding: 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .header-nav .nav-menu li:last-child {
        border-bottom: none;
    }

    .header-nav .nav-menu li a {
        display: block;
        padding: 0.4rem 1rem;
        color: var(--text-primary);
        font-size: 1rem;
    }

    .landing-header.sticky .header-nav .nav-menu li a {
        color: var(--text-primary);
    }

    .header-nav .nav-menu li a:hover {
        background: #f8f9fa;
        color: var(--primary-color);
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .header-logo img {
        height: 40px;
    }

    .landing-header.sticky .header-logo img {
        height: 35px;
    }

    .header-logo h2 {
        font-size: 1.25rem;
    }

    .landing-header.sticky .header-logo h2 {
        font-size: 1.1rem;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .services-grid,
    .album-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .slider-controls {
        padding: 0 20px;
    }

    .slider-prev,
    .slider-next {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .social-link {
        padding: 5px 10px;
        font-size: 11px;
        gap: 4px;
    }
}


