/* 
* aiporncomic.pw - Comic Book Themed Styling
* A unique comic book style design with bright colors and fun elements
*/

/* Base Styles & Reset */
:root {
    --primary-color: #FF3D00;
    --secondary-color: #B71C1C;
    --accent-color: #FFEB3B;
    --text-color: #212121;
    --light-text: #FFFFFF;
    --background: #F5F5F5;
    --comic-font: 'Impact', 'Charcoal', sans-serif;
    --body-font: 'Comic Sans MS', 'Chalkboard SE', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 62.5%;
}

body {
    font-family: var(--body-font);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background);
    overflow-x: hidden;
    position: relative;
}

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

ul {
    list-style: none;
}

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

/* Comic Background Elements */
.comic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background);
    background-image: radial-gradient(var(--accent-color) 2px, transparent 2px);
    background-size: 30px 30px;
    opacity: 0.1;
    z-index: -2;
}

.halftone-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='10' cy='10' r='1' fill='%23000000' fill-opacity='0.05'/%3E%3C/svg%3E");
    z-index: -1;
    pointer-events: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--comic-font);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 3.5rem;
}

h3 {
    font-size: 2.5rem;
}

p {
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    border: 3px solid #000;
    border-radius: 8px;
    font-family: var(--comic-font);
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 4px 4px 0 #000;
    transform: translateY(-4px);
}

.btn:hover {
    transform: translateY(0);
    box-shadow: 0px 0px 0 #000;
}

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

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

.btn-cta {
    background-color: var(--primary-color);
    color: var(--light-text);
    font-size: 2rem;
    padding: 1.5rem 3rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1) translateY(-4px);
    }
    50% {
        transform: scale(1.05) translateY(-4px);
    }
    100% {
        transform: scale(1) translateY(-4px);
    }
}

/* Header */
.comic-header {
    background-color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-bottom: 4px solid #000;
}

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

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

.logo-burst {
    position: relative;
    margin-right: 1rem;
}

.burst-svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.logo-svg {
    position: relative;
    z-index: 2;
}

.site-name h1 {
    font-size: 2.5rem;
    margin: 0;
    color: var(--secondary-color);
    text-shadow: 2px 2px 0 #000;
}

.tagline {
    font-size: 1.4rem;
    margin: 0;
    font-family: var(--body-font);
    font-style: italic;
}

/* Navigation */
.main-nav {
    position: relative;
}

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

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu a {
    color: var(--text-color);
    font-family: var(--comic-font);
    font-size: 1.8rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
    transform: scale(1.05);
}

.nav-cta {
    background-color: var(--secondary-color);
    color: var(--light-text) !important;
    padding: 0.8rem 1.6rem;
    border-radius: 5px;
    border: 2px solid #000;
    box-shadow: 2px 2px 0 #000;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 30px;
    position: relative;
    z-index: 100;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 4px;
    background-color: #000;
    margin: 6px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    position: relative;
}

.hero-heading {
    margin-bottom: 2rem;
}

.hero-heading h2 {
    font-size: 5rem;
    text-shadow: 3px 3px 0 #000;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.pow-effect {
    color: var(--primary-color);
    transform: rotate(-2deg);
}

.boom-effect {
    color: var(--secondary-color);
    transform: rotate(2deg);
}

.hero-text {
    font-size: 2rem;
    margin-bottom: 3rem;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.speech-bubble {
    position: relative;
    background-color: white;
    border: 3px solid #000;
    border-radius: 20px;
    padding: 1.5rem;
    max-width: 80%;
    margin-left: 2rem;
}

.speech-bubble:after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 0;
    border: 20px solid transparent;
    border-right-color: #fff;
    border-left: 0;
    margin-top: -20px;
    margin-left: -15px;
    z-index: 1;
}

.speech-bubble:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 0;
    border: 23px solid transparent;
    border-right-color: #000;
    border-left: 0;
    margin-top: -23px;
    margin-left: -20px;
    z-index: 0;
}

.speech-bubble p {
    margin: 0;
    font-weight: bold;
    font-style: italic;
}

.hero-image {
    position: relative;
    transform: rotate(3deg);
    transition: all 0.3s ease;
}

.hero-image:hover {
    transform: rotate(0deg);
}

.sound-effects {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.sound-effect {
    position: absolute;
    background-color: var(--accent-color);
    color: var(--text-color);
    font-family: var(--comic-font);
    font-weight: bold;
    padding: 1rem 2rem;
    border: 3px solid #000;
    border-radius: 50%;
    transform: rotate(-15deg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    animation: bounce 5s ease-in-out infinite;
    box-shadow: 3px 3px 0 #000;
}

@keyframes bounce {
    0%, 100% {
        transform: rotate(-15deg) scale(1);
    }
    50% {
        transform: rotate(-10deg) scale(1.1);
    }
}

.pow {
    top: 10%;
    right: 10%;
}

.bam {
    bottom: 20%;
    left: 15%;
}

.zap {
    top: 70%;
    right: 20%;
}

/* Section Styling */
section {
    padding: 8rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.title-box {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.title-box h2 {
    color: var(--primary-color);
    text-shadow: 2px 2px 0 #000;
    position: relative;
    z-index: 1;
}

.title-box:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -10px;
    width: calc(100% + 20px);
    height: 10px;
    background-color: var(--accent-color);
    z-index: 0;
}

.section-title p {
    font-size: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    background-color: #fff;
    position: relative;
    overflow: hidden;
    border-top: 4px solid #000;
    border-bottom: 4px solid #000;
}

.features:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 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='%23000000' 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");
    opacity: 0.2;
    z-index: 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.feature-card {
    background-color: #fff;
    border: 3px solid #000;
    border-radius: 10px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 8px 8px 0 #000;
    transform: translateY(-8px);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(0);
    box-shadow: 0 0 0 #000;
}

.feature-icon {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.feature-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

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

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

.gallery-item {
    position: relative;
}

.comic-panel {
    border: 4px solid #000;
    border-radius: 10px;
    box-shadow: 6px 6px 0 #000;
    background-color: #fff;
    overflow: hidden;
    transition: all 0.3s ease;
}

.gallery-item:hover .comic-panel {
    transform: scale(1.03);
    box-shadow: 10px 10px 0 #000;
}

.panel-caption {
    padding: 2rem;
    text-align: center;
    background-color: #fff;
    border-top: 2px solid #000;
}

.panel-caption h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.panel-caption p {
    margin-bottom: 0;
    font-size: 1.4rem;
}

/* Create Process Section */
.create {
    background-color: #fff;
    border-top: 4px solid #000;
    border-bottom: 4px solid #000;
    position: relative;
    overflow: hidden;
}

.create:after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background-color: var(--accent-color);
    border-radius: 50%;
    opacity: 0.3;
    z-index: 0;
}

.create-process {
    position: relative;
    z-index: 1;
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
}

.process-step:not(:last-child):before {
    content: '';
    position: absolute;
    top: 50px;
    left: 25px;
    height: 80px;
    width: 4px;
    background-color: #000;
    z-index: 0;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--light-text);
    font-family: var(--comic-font);
    font-size: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 2rem;
    border: 3px solid #000;
    box-shadow: 3px 3px 0 #000;
    position: relative;
    z-index: 1;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

/* CTA Section */
.cta {
    background-color: var(--secondary-color);
    color: var(--light-text);
    text-align: center;
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.cta:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 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.1'%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");
    opacity: 0.2;
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 4rem;
    margin-bottom: 2rem;
    text-shadow: 3px 3px 0 #000;
}

.cta h2 span {
    color: var(--accent-color);
    display: block;
}

.cta p {
    font-size: 2rem;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.cta-burst {
    position: absolute;
    top: -30px;
    right: 50px;
    width: 150px;
    height: 150px;
    background-color: var(--accent-color);
    border-radius: 50%;
    transform: rotate(15deg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #000;
    animation: wobble 5s infinite;
}

@keyframes wobble {
    0%, 100% {
        transform: rotate(15deg) scale(1);
    }
    50% {
        transform: rotate(10deg) scale(1.05);
    }
}

.cta-burst:before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 3px dashed #000;
    border-radius: 50%;
    animation: spin 20s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.cta-burst span {
    color: var(--text-color);
    font-family: var(--comic-font);
    font-size: 1.6rem;
    font-weight: bold;
    text-align: center;
    line-height: 1.2;
}

/* Footer */
.comic-footer {
    background-color: #1A1A1A;
    color: #fff;
    padding: 6rem 0 3rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5rem;
    flex-wrap: wrap;
}

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

.footer-brand {
    margin-left: 2rem;
}

.footer-brand h3 {
    font-size: 2.4rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.footer-brand p {
    font-size: 1.4rem;
    margin-bottom: 0;
    color: #ccc;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
}

.footer-col {
    margin-left: 6rem;
}

.footer-col:first-child {
    margin-left: 0;
}

.footer-col h4 {
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col a {
    color: #ccc;
}

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

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 3rem;
    text-align: center;
    font-size: 1.4rem;
    color: #ccc;
}

.copyright {
    margin-bottom: 1rem;
}

.disclaimer {
    font-style: italic;
}

/* Responsive Styles */
@media (max-width: 991px) {
    html {
        font-size: 58%;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 2;
    }
    
    .hero-image {
        order: 1;
        margin-bottom: 4rem;
    }
    
    .speech-bubble {
        margin: 0 auto;
    }
    
    .speech-bubble:after,
    .speech-bubble:before {
        display: none;
    }
    
    .footer-col {
        margin-left: 3rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 55%;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 10rem 3rem;
        transition: all 0.4s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 90;
        border-left: 4px solid #000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 2rem 0;
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        font-size: 2.2rem;
        padding: 1rem;
        width: 100%;
        border-bottom: 1px dashed #ccc;
    }
    
    .sound-effect {
        font-size: 2rem;
    }
    
    .footer-top {
        flex-direction: column;
    }
    
    .footer-logo {
        margin-bottom: 3rem;
    }
    
    .footer-nav {
        width: 100%;
        justify-content: space-between;
    }
    
    .footer-col {
        margin-left: 0;
        flex-basis: 48%;
        margin-bottom: 3rem;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 50%;
    }
    
    h1 {
        font-size: 3.5rem;
    }
    
    h2 {
        font-size: 3rem;
    }
    
    .hero-heading h2 {
        font-size: 4rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-nav {
        flex-direction: column;
    }
    
    .footer-col {
        flex-basis: 100%;
    }
    
    .cta-burst {
        width: 120px;
        height: 120px;
        top: -10px;
        right: 10px;
    }
    
    .cta-burst span {
        font-size: 1.4rem;
    }
}
