/* 
 * undresslove.blog - Main Stylesheet
 * Modern blog theme with green accents
 */

:root {
    --primary: #2ecc71;      /* Green */
    --secondary: #34495e;    /* Dark slate */
    --dark: #2c3e50;         /* Darker slate */
    --light: #ffffff;        /* White */
    --gray: #f5f5f5;         /* Light gray */
    --text: #333333;         /* Dark text */
    --shadow: 0 8px 20px rgba(46, 204, 113, 0.15);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Merriweather', Georgia, serif;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--light);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

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

h1 span:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    background: var(--primary);
    bottom: -5px;
    left: 0;
    opacity: 0.3;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.tag {
    display: inline-block;
    background-color: rgba(46, 204, 113, 0.1);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Buttons and Links */
a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

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

.primary-button, .secondary-button {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
}

.primary-button {
    background: var(--primary);
    color: var(--light);
    box-shadow: var(--shadow);
}

.primary-button:hover {
    color: var(--light);
    background: #27ae60;
    transform: translateY(-3px);
}

.secondary-button {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--primary);
    margin-left: 15px;
}

.secondary-button:hover {
    background: rgba(46, 204, 113, 0.1);
    color: var(--primary);
    transform: translateY(-3px);
}

.cta-button {
    display: inline-block;
    background: var(--primary);
    color: var(--light);
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.cta-button:hover {
    color: var(--light);
    background: #27ae60;
}

/* Header and Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--light);
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 35px;
    height: 35px;
    margin-right: 10px;
}

.logo span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--dark);
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--dark);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
}

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

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a:hover:after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.hamburger {
    width: 30px;
    height: 20px;
    position: relative;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--primary);
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.hamburger span:nth-child(1) {
    top: 0px;
}

.hamburger span:nth-child(2) {
    top: 9px;
}

.hamburger span:nth-child(3) {
    top: 18px;
}

.hamburger.active span:nth-child(1) {
    top: 9px;
    transform: rotate(135deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.hamburger.active span:nth-child(3) {
    top: 9px;
    transform: rotate(-135deg);
}

/* Hero Section */
.hero {
    padding: 150px 0 80px;
    background-color: var(--light);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background-color: rgba(46, 204, 113, 0.05);
    z-index: -1;
}

.hero-content {
    max-width: 600px;
}

.hero-content p {
    color: var(--secondary);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    align-items: center;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--gray);
}

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

.feature-card {
    background: var(--light);
    border-radius: 10px;
    padding: 30px 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

.feature-icon {
    margin-bottom: 20px;
    width: 60px;
    height: 60px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.feature-card p {
    color: var(--secondary);
    font-size: 1rem;
    margin-bottom: 0;
}

/* Footer */
.site-footer {
    background: var(--dark);
    color: var(--light);
    padding: 60px 0 30px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-about {
    flex: 0 0 100%;
    max-width: 350px;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-logo span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--light);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links {
    flex: 1;
    display: flex;
    justify-content: space-around;
}

.link-group h4 {
    color: var(--light);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.link-group a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 991px) {
    h1 {
        font-size: 2.3rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    .hero {
        padding: 130px 0 60px;
    }
    .features,
    .articles,
    .tutorials {
        padding: 60px 0;
    }
    .menu-toggle {
        display: block;
    }
    nav ul {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--light);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: var(--transition);
    }
    nav ul.active {
        transform: translateY(0);
    }
    nav ul li {
        margin: 15px 0;
    }
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero::before {
        width: 100%;
        height: 50%;
        top: auto;
        bottom: 0;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    .secondary-button {
        margin-left: 0;
        margin-top: 15px;
    }
}
