/* 
* PornWorks AI - Main Stylesheet
* Matching the style of pornworksai.com
*/

/* Reset and Base Styles */
:root {
    --primary-color: #ff006e;
    --secondary-color: #3a86ff;
    --dark-color: #1a1a2e;
    --darker-color: #0f0f1b;
    --light-color: #f0f0f0;
    --text-color: #e6e6e6;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--darker-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

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

span {
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    text-align: center;
}

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

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

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

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

section {
    padding: 80px 0;
}

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

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    color: #b8b8b8;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(15, 15, 27, 0.95);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

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

.logo img {
    max-height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
}

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

.nav-menu a {
    font-weight: 500;
    position: relative;
}

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

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

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

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--light-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(15, 15, 27, 0.95)), url('hero-bg.jpg') center/cover;
    background-attachment: fixed;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero h1 {
    margin-bottom: 30px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #b8b8b8;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Features Section */
.features {
    background-color: var(--dark-color);
}

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

.feature-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.feature-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.1);
}

.feature-icon {
    margin-bottom: 20px;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.feature-icon svg {
    width: 35px;
    height: 35px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card p {
    color: #b8b8b8;
    font-size: 0.95rem;
}

/* Gallery Section */
.gallery {
    background-color: var(--darker-color);
}

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

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    aspect-ratio: 1/1;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    font-weight: 600;
    transition: var(--transition);
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.3);
}

.gallery-image-1 {
    background: linear-gradient(135deg, #ff0080, #7928ca);
}

.gallery-image-2 {
    background: linear-gradient(135deg, #3a86ff, #00c6ff);
}

.gallery-image-3 {
    background: linear-gradient(135deg, #ff9900, #ff5500);
}

.gallery-video-1 {
    background: linear-gradient(135deg, #8a2387, #e94057, #f27121);
}

.gallery-video-2 {
    background: linear-gradient(135deg, #11998e, #38ef7d);
}

.gallery-video-3 {
    background: linear-gradient(135deg, #4158D0, #C850C0, #FFCC70);
}

.play-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.play-icon svg {
    width: 30px;
    height: 30px;
    color: white;
    margin-left: 4px;
}

.gallery-item:hover .play-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.25);
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.video-item {
    position: relative;
    overflow: hidden;
}

.video-item .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition);
    z-index: 2;
}

.video-item:hover .play-icon {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(255, 255, 255, 0.25);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    color: white;
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    height: 50%;
}

.gallery-overlay span {
    font-weight: 600;
    font-size: 1.2rem;
    color: white;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-more {
    text-align: center;
    margin-top: 30px;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.9), rgba(58, 134, 255, 0.9)), url('cta-bg.jpg') center/cover;
    background-attachment: fixed;
    padding: 100px 0;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    margin-bottom: 20px;
}

.cta p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta .btn {
    background-color: #fff;
    color: var(--primary-color);
}

.cta .btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 50px;
    gap: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo img {
    margin-bottom: 15px;
    max-width: 180px;
}

.footer-logo p {
    color: #b8b8b8;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-links {
    flex: 2;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-links-section {
    min-width: 150px;
}

.footer-links-section h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--light-color);
}

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

.footer-links-section a {
    color: #b8b8b8;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links-section a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

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

.footer-bottom p {
    color: #777;
    font-size: 0.85rem;
}

/* SEO Content Section Styles */
.seo-content {
    background-color: var(--dark-color);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.seo-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 0, 110, 0.08), transparent 70%),
                radial-gradient(circle at bottom left, rgba(58, 134, 255, 0.08), transparent 70%);
    z-index: 0;
}

.animated-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 25px;
}

.highlight {
    position: relative;
    z-index: 1;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
    z-index: -1;
}

/* Technology Info Cards */
.tech-info-cards {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 60px 0;
    position: relative;
    z-index: 1;
}

.tech-card {
    display: flex;
    background: rgba(15, 15, 30, 0.7);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.tech-card-icon {
    flex: 0 0 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 3rem;
}

.tech-card-content {
    flex: 1;
    padding: 30px;
}

.tech-card-content h3 {
    color: var(--light-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
    position: relative;
}

.tech-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.tech-features span {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tech-features i {
    color: var(--primary-color);
}

/* FAQ Section Styling */
.faq-section {
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.faq-header {
    margin-bottom: 30px;
    text-align: center;
}

.faq-header h3 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    color: var(--light-color);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.faq-header h3 i {
    color: var(--primary-color);
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: rgba(15, 15, 30, 0.7);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.03);
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question h4 {
    font-size: 1.1rem;
    color: var(--light-color);
    font-weight: 600;
}

.faq-toggle {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 20px 25px;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .tech-card {
        flex-direction: column;
    }
    
    .tech-card-icon {
        flex: 0 0 auto;
        height: 120px;
        width: 100%;
    }
    
    .tech-features {
        flex-direction: column;
        gap: 10px;
    }
    
    .tech-features span {
        width: 100%;
    }
}

/* Keyword Search Module */
.keyword-search {
    background-color: var(--dark-color);
    padding: 70px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.keyword-search-title h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--light-color);
}

.search-form {
    max-width: 800px;
    margin: 0 auto 50px;
}

.search-input-group {
    display: flex;
    gap: 10px;
    width: 100%;
}

.search-input {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--light-color);
    padding: 15px 20px;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    padding: 0 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.search-button:hover {
    background-color: rgba(255, 0, 110, 0.8);
}

.search-links-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}

.search-links-group {
    flex: 1;
    min-width: 300px;
}

.search-links-group h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--light-color);
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.search-links-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.search-link {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.search-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.search-link i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Additional Search Modules */
.additional-modules {
    background-color: var(--darker-color);
    padding: 50px 0;
}

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

.module-card {
    background-color: var(--dark-color);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

.module-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.module-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.module-title {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--light-color);
}

.module-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 12px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.module-button:hover {
    background-color: rgba(58, 134, 255, 0.8);
    transform: scale(1.05);
}

/* Responsive Styles for Search Modules */
@media (max-width: 768px) {
    .search-input-group {
        flex-direction: column;
    }
    
    .search-links-list {
        grid-template-columns: 1fr;
    }
    
    .additional-modules-grid {
        grid-template-columns: 1fr;
    }
}

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

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        flex-direction: column;
        background-color: var(--dark-color);
        transition: var(--transition);
        padding: 40px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
