/* Base Styles */
:root {
    --primary-color: #e63946;
    --secondary-color: #457b9d;
    --dark-color: #1d3557;
    --light-color: #f1faee;
    --gray-color: #a8dadc;
    --text-color: #333;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease-in-out;
    --header-height: 80px;
}

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f8f9fa;
    overflow-x: hidden; /* Prevent horizontal scroll on mobile */
}

/* Prevent scrolling when mobile menu is open */
body.no-scroll {
    overflow: hidden;
}

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: var(--dark-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 10px auto 0;
}

/* Button Styles */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: #d62b39;
    transform: translateY(-3px);
}

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

.btn-secondary:hover {
    background-color: #3a6a8a;
    transform: translateY(-3px);
}

.read-more {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 500;
    position: relative;
}

.read-more::after {
    content: '→';
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover {
    color: #d62b39;
}

.read-more:hover::after {
    margin-left: 10px;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    height: 100%;
}

.logo-image {
    height: 40px;
    width: auto;
    display: block;
}

.footer-logo-image {
    height: 50px;
    width: auto;
    margin-bottom: 10px;
}

/* Desktop Navigation */
.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-weight: 500;
}

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

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1100;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--dark-color);
    transition: var(--transition);
}

/* Side Navigation */
.side-nav {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background-color: #1a1a1a;
    z-index: 1000;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    padding-top: 50px;
}

.side-nav.active {
    right: 0;
}

.side-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-nav ul li {
    margin-bottom: 10px;
}

.side-nav ul li a {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.side-nav ul li a:hover {
    background-color: #333;
}

.side-nav ul li a i {
    margin-right: 15px;
    width: 24px;
    text-align: center;
    font-size: 20px;
}

.side-nav ul li a.btn-primary {
    margin: 15px 25px;
    text-align: center;
    justify-content: center;
}

.side-nav ul li a.btn-primary i {
    margin-right: 10px;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/hero-image.jpeg');
    background-size: cover;
    background-position: center;
    height: 600px;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    padding-top: 80px;
    position: relative;
}

/* Guide page specific hero styling */
.guide-section + .hero-section,
body:has(section.account-setup) .hero-section {
    background: linear-gradient(rgba(29, 53, 87, 0.85), rgba(29, 53, 87, 0.95)), url('../assets/918kissapppreview.png');
    background-size: cover;
    background-position: center;
    height: 500px;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: linear-gradient(to top, #fff, transparent);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease-out;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.3s;
    animation-fill-mode: both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Guide Section */
.guide-section {
    padding: 100px 0;
    background-color: white;
}

.guide-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.guide-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.guide-card:hover {
    transform: translateY(-10px);
}

.guide-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guide-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.guide-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.guide-card p {
    margin-bottom: 20px;
    color: #666;
}

/* Download Section */
.download-section {
    padding: 100px 0;
    background-color: var(--light-color);
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.download-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.download-info p {
    margin-bottom: 30px;
    color: #555;
}

.feature-list {
    margin-bottom: 30px;
}

.feature-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
}

.feature-list li::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.download-buttons {
    display: flex;
    gap: 15px;
}

.download-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* Related Content Section */
.related-section {
    padding: 100px 0;
    background-color: white;
}

.related-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.related-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.related-card:hover {
    transform: translateY(-10px);
}

.related-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-icon i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.related-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.related-card p {
    margin-bottom: 20px;
    color: #666;
}

/* Blog Section */
.blog-section {
    padding: 80px 0;
    background-color: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.blog-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.blog-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-date {
    font-size: 0.85rem;
    color: var(--secondary-color);
    margin: 20px 20px 10px;
    font-weight: 500;
}

.blog-title {
    font-size: 1.3rem;
    margin: 0 20px 15px;
    color: var(--dark-color);
    line-height: 1.4;
}

.blog-excerpt {
    margin: 0 20px 20px;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

.blog-card .read-more {
    margin: 0 20px 20px;
}

/* Footer Styles */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.footer-logo h2 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-column h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: var(--gray-color);
}

.footer-column a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

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

.social-links a i {
    font-size: 1rem;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: var(--gray-color);
}

/* Enhanced Mobile Footer Styles */
@media (max-width: 768px) {
    footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-logo-image {
        margin: 0 auto 15px;
    }
    
    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-column ul {
        padding: 0;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    footer {
        padding: 30px 0 15px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-column {
        padding-bottom: 15px;
        position: relative;
    }
    
    .footer-column:not(:last-child)::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 25%;
        right: 25%;
        height: 1px;
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    .footer-column h3 {
        margin-bottom: 15px;
        font-size: 1.1rem;
    }
    
    .social-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .social-links a {
        width: 42px;
        height: 42px;
        margin: 0 5px 10px;
    }
    
    .social-links a i {
        font-size: 1.2rem;
    }
    
    .footer-bottom {
        margin-top: 20px;
        font-size: 0.85rem;
    }
    
    .footer-bottom p {
        margin: 5px 0;
    }
}

/* Additional responsive styles */
@media (max-width: 992px) {
    .download-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    /* Active menu button (X) */
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Hero Section */
    .hero-section {
        height: 500px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    /* Sections */
    .section-title {
        font-size: 2rem;
    }
    
    /* Layout */
    .guide-content,
    .related-content {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-image {
        height: 180px;
    }
    
    /* Footer */
    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    /* Smaller screens */
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .download-buttons {
        flex-direction: column;
    }
    
    /* Steps and Tips Lists */
    .steps-list li,
    .tips-list li {
        padding: 20px 15px 15px 20px;
    }
    
    .steps-list li::before,
    .tips-list li::before {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
        top: -8px;
        left: -8px;
    }
}

/* Guide Page Styles */
.account-setup,
.pro-tips {
    padding: 80px 0;
    background-color: white;
    position: relative;
}

.account-setup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/918kiss.webp') no-repeat;
    background-position: 95% 95%;
    background-size: 200px auto;
    opacity: 0.05;
    pointer-events: none;
}

.account-setup:nth-of-type(even) {
    background-color: var(--light-color);
}

.steps-list,
.tips-list {
    counter-reset: step-counter;
    max-width: 800px;
    margin: 0 auto;
    list-style-type: none; /* Hide default numbers */
}

.steps-list li,
.tips-list li {
    position: relative;
    padding: 30px;
    margin-bottom: 30px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.steps-list li:hover,
.tips-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.account-setup:nth-of-type(even) .steps-list li {
    background-color: white;
}

.steps-list li::before,
.tips-list li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    top: -15px;
    left: -15px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.steps-list h3,
.tips-list h3 {
    color: var(--dark-color);
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.steps-list p,
.tips-list p {
    color: #666;
    margin-bottom: 0;
}

.tips-list li {
    border-left: 5px solid var(--secondary-color);
}

.tips-list strong {
    color: var(--secondary-color);
}

/* Enhance Related Section */
.related-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.related-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.related-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.related-card:hover {
    transform: translateY(-10px);
}

.related-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.related-card:hover .related-icon {
    background-color: var(--primary-color);
}

.related-icon i {
    font-size: 2rem;
    color: var(--dark-color);
    transition: var(--transition);
}

.related-card:hover .related-icon i {
    color: white;
}

.related-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.related-card p {
    margin-bottom: 20px;
    color: #666;
    flex-grow: 1;
}

/* Responsive Styles for Guide Page */
@media (max-width: 768px) {
    .steps-list li,
    .tips-list li {
        padding: 25px 20px 20px 25px;
    }
    
    .steps-list li::before,
    .tips-list li::before {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        top: -10px;
        left: -10px;
    }
    
    .steps-list h3,
    .tips-list h3 {
        font-size: 1.2rem;
    }
}

/* Scroll to top button styles have been removed */

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-float i {
    font-size: 32px;
}

.whatsapp-float:hover, 
.whatsapp-float:focus {
    background-color: #128C7E;
    transform: scale(1.1);
    color: white;
}

/* Only show on mobile */
@media (min-width: 992px) {
    .whatsapp-float {
        display: none;
    }
}
