/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Mobile-first base styles */
html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* Improve touch targets for mobile */
a, button, input, select, textarea {
    min-height: 44px;
    min-width: 44px;
}

/* Variables */
:root {
    --primary-color: #4285f4;
    --secondary-color: #34a853;
    --accent-color: #ea4335;
    --light-gray: #f8f9fa;
    --dark-gray: #202124;
    --text-color: #3c4043;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body {
    color: var(--text-color);
    line-height: 1.6;
}

p {
    margin: 0;
    padding: 0;
    text-indent: 0;
}

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

/* Header & Navigation */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo h1 {

font-size: 24px;
    color: var(--primary-color);
    display: inline;
   

}

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

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

nav ul li a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s;
}

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

/* --- START: Hamburger Menu Styles --- */
.hamburger-btn {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 110;
    min-height: 25px;
    min-width: 30px;
}

.hamburger-btn .bar {
    width: 100%;
    height: 3px;
    background-color: var(--dark-gray);
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

.nav-close-btn {
    display: none; /* Hidden by default */
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    color: var(--dark-gray);
    background: transparent;
    border: none;
    cursor: pointer;
    line-height: 1;
    z-index: 120;
}
/* --- END: Hamburger Menu Styles --- */


/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    padding: 80px 0;
    text-align: center;
}

.hero h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.hero p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px;
    color: var(--text-color);
}

.before-after {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px auto;
    max-width: 900px;
}

.comparison-card {
    position: relative;
    overflow: hidden;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    width: 400px;
}

.comparison-card h3 {
    background: var(--light-gray);
    padding: 15px;
    font-size: 18px;
}

.comparison-card .image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    transform: scale(1.05);
}

.comparison-card .before {
    background-image: url('/images/comparison/basic.jpg');
    opacity: 0.8;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    transform: scale(1.05);
}

.comparison-card .after {
    background-image: url('/images/comparison/enhanced.jpg');
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    transform: scale(1.05);
}

.comparison-card .prompt {
    padding: 15px;
    font-size: 14px;
    background: var(--light-gray);
    font-family: monospace;
}

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

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.section-title p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-color);
}

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

.feature-card {
    background: var(--light-gray);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

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

.feature-card .icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

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

.feature-card p {
    margin-bottom: 20px;
}

.feature-example {
    background: white;
    border-radius: 6px;
    padding: 15px;
    margin-top: 20px;
    font-size: 14px;
}

.feature-example img {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
    margin-top: 10px;
}

/* Product Showcase */
.showcase {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.gallery-item .image {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.gallery-item .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.gallery-item:hover .image img {
    transform: scale(1.05);
}

.gallery-item .content {
    padding: 20px;
}

.gallery-item h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.technique-tag {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 15px;
}

/* Tool Explanation */
.explanation {
    padding: 80px 0;
}

.flowchart {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
    margin: 40px 0;
    text-align: center;
}

.flowchart img {
    max-width: 100%;
    height: auto;
}

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

.info-column {
    background: var(--light-gray);
    border-radius: 8px;
    padding: 25px;
}

.info-column h3 {
    margin-bottom: 15px;
    font-size: 20px;
    color: var(--dark-gray);
}

/* Blog Section */
.blog {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.articles {
    margin-top: 40px;
}

.article {
    margin-bottom: 50px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.article-header {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.article-header img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
}

.article-header-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 20px;
    color: white;
    pointer-events: none;
}

.article-header-overlay .article-meta {
    pointer-events: auto;
}


.article-meta {
    display: flex;
    align-items: center;
    font-size: 14px;
    margin-bottom: 10px;
}

.article-meta .date {
    margin-right: 15px;
}

.article-meta .time {
    display: flex;
    align-items: center;
}

.article-meta .time::before {
    content: "•";
    margin: 0 5px;
}

.article-content {
    padding: 30px;
}

.article-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h3 {
    font-size: 22px;
    margin: 30px 0 15px;
    color: var(--dark-gray);
}

.article-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 10px;
}

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

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

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

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

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

.footer-links a {
    color: #bdc1c6;
    text-decoration: none;
    transition: color 0.3s;
}

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

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

.social-links a {
    color: white;
    font-size: 20px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #bdc1c6;
}

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

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.privacy-content h3 {
    font-size: 22px;
    margin: 30px 0 15px;
    color: var(--dark-gray);
}

.privacy-content p {
    margin-bottom: 20px;
}

.privacy-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.privacy-content li {
    margin-bottom: 15px;
}

.privacy-content strong {
    color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo h1 {
        font-size: 20px;
    }

    .logo img {
        height: 30px;
    }

    .hero {
        padding: 40px 0;
    }

    .hero h2 {
        font-size: 24px;
        line-height: 1.3;
    }

    .hero p {
        font-size: 16px;
        padding: 0 10px;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .section-title p {
        font-size: 16px;
        padding: 0 10px;
    }

    .feature-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 20px;
    }

    .feature-card h3 {
        font-size: 18px;
    }

    .gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gallery-item .image {
        height: 200px;
    }

    .article-content {
        padding: 20px 15px;
    }

    .article-content h2 {
        font-size: 22px;
        line-height: 1.3;
    }

    .article-content h3 {
        font-size: 18px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    /* --- START: Mobile Header & Nav --- */
    .header-content {
        flex-direction: row; /* Keep header content in a row */
        align-items: center;
    }

    .logo {
        margin-bottom: 0;
    }

    nav ul {
        display: none; /* Hide the desktop nav links */
    }

    .hamburger-btn {
        display: flex; /* Show the hamburger button */
    }

    /* Style the mobile navigation container (overlay) */
    nav {
        position: fixed;
        top: 0;
        left: -100%; /* Start off-screen */
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(5px);
        transition: left 0.3s ease-in-out;
        z-index: 105;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* When the nav is open, slide it in */
    nav.nav-open {
        left: 0;
    }

    /* Style the links for the mobile menu */
    nav.nav-open ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    nav.nav-open ul li {
        margin: 20px 0;
    }

    nav.nav-open ul li a {
        font-size: 24px;
        font-weight: 500;
    }

    /* Show the close button inside the open nav */
    nav.nav-open .nav-close-btn {
        display: block;
    }
    /* --- END: Mobile Header & Nav --- */
    
    .hero {
        padding: 60px 0;
    }

    .hero h2 {
        font-size: 32px;
    }

    .hero p {
        font-size: 17px;
    }

    .before-after {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .comparison-card {
        width: 100%;
        max-width: 400px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .features, .showcase, .explanation, .blog {
        padding: 60px 0;
    }

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

    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }

    .gallery-item .image {
        height: 250px;
    }

    .info-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .article-content {
        padding: 25px 20px;
    }

    .article-content h2 {
        font-size: 24px;
    }

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

@media (max-width: 1024px) {
    .hero {
        padding: 70px 0;
    }

    .features, .showcase, .explanation, .blog {
        padding: 70px 0;
    }

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

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

/* Icons */
.icon-magic::before {
    content: "✨";
}
.icon-analyze::before {
    content: "🔍";
}
.icon-enhance::before {
    content: "⚡";
}
.icon-clock::before {
    content: "🕒";
}
/* Add this code to your style.css file */
.welcome-box {
    background-color: #f5f5f5;
    text-align: center;
    padding: 20px;
    margin: 20px auto;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.welcome-box h2 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #333;
}

.welcome-box p {
    margin: 0 0 15px 0;
    font-size: 14px;
    color: #666;
}

.try-button {
    background-color: #f7f4e3;
    color: #333;
    padding: 8px 20px;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.try-button:hover {
    background-color: #f1f0e4;
}
/* Basic Footer Styling */
footer {
  background-color: #ffffff; /* A dark background color */
  color: #000000;           /* A light text color */
  padding: 20px 40px;        /* 20px top/bottom, 40px left/right */
  text-align: center;        /* Centers the text for smaller screens */
}

.footer-content {
  display: flex;                 /* Use flexbox for easy alignment */
  justify-content: space-between;/* Puts space between the text and the link */
  align-items: center;           /* Vertically aligns items in the middle */
  max-width: 1200px;             /* Limits the width on very wide screens */
  margin: 0 auto;                /* Centers the content container */
}

/* Style for the copyright text */
.footer-content p {
  margin: 0; /* Removes default paragraph margin */
  font-size: 14px;
}

/* Style for the privacy policy link */
.footer-content a {
  color: #000000; /* A nice blue color for the link */
  text-decoration: none; /* Removes the underline */
  font-size: 14px;
  font-weight: bold;
}

/* Style for the link when you hover over it */
.footer-content a:hover {
  text-decoration: underline; /* Adds an underline on hover for better UX */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column; /* Stacks the items vertically */
  }

  .footer-content p {
    margin-bottom: 10px; /* Adds some space between the text and link */
  }
}
