/* nudefySG.love - Custom CSS for Singapore Site
   Created: August 26, 2025
   Singapore-themed colors and unique layout */

:root {
    /* Singapore-inspired color palette */
    --primary: #EF4444;      /* Singapore Red */
    --secondary: #002B5B;    /* Deep Navy Blue */
    --accent: #F1C40F;       /* Accent Gold */
    --light: #F8FAFC;        /* Light Background */
    --dark: #1E293B;         /* Dark Text */
    --gradient-start: rgba(239, 68, 68, 0.8);
    --gradient-end: rgba(0, 43, 91, 0.9);
    --box-shadow: 0 8px 30px rgba(0, 43, 91, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', 'Arial', sans-serif;
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.8em;
    color: var(--secondary);
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.6rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    background-color: var(--primary);
    color: white;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: var(--box-shadow);
}

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

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

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 10px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary);
}

.logo svg {
    height: 36px;
    width: 36px;
    margin-right: 10px;
}

.logo span {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Navigation */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--secondary);
    cursor: pointer;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu li a {
    font-weight: 600;
    position: relative;
    padding: 5px 0;
    color: var(--secondary);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    position: relative;
    padding: 150px 0 100px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)), 
                url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-position: center;
    color: white;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1.2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

/* Features Section */
.features {
    padding: 90px 0 60px;
    background-color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary);
}

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

.feature-card {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--box-shadow);
}

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

.feature-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: rgba(239, 68, 68, 0.1);
    border-radius: 50%;
    color: var(--primary);
}

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

/* How it Works */
.how-it-works {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
}

.step-content {
    flex-grow: 1;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: white;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    margin: 20px auto;
    position: relative;
    box-shadow: var(--box-shadow);
}

.testimonial::before {
    content: """;
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    color: rgba(239, 68, 68, 0.1);
    font-family: Georgia, serif;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    padding-left: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    text-align: center;
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
    margin-top: -60px;
}

.cta h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: var(--secondary);
    color: white;
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-logo svg {
    height: 30px;
    width: 30px;
    margin-right: 10px;
}

.footer-about p {
    opacity: 0.8;
}

.footer-heading {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

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

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.4rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 130px 0 80px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: center;
        background-color: white;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        gap: 0;
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
    }
    
    .nav-menu li a {
        display: block;
        padding: 15px 0;
    }
    
    .step {
        flex-direction: column;
    }
    
    .step-number {
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 120px 0 70px;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial {
        padding: 20px;
    }
}
