/*
Theme Name: ConvertorFormat
Description: A modern, professional theme for file conversion websites
Version: 1.0
Author: ConvertorFormat
Text Domain: convertorformat
*/

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #222;
    background-color: #F6F8FB;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px; /* Increased from 1200px */
    margin: 0 auto;
    padding: 0 30px; /* Increased from 20px */
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px; /* Increased from 70px */
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px; /* Increased from 30px */
}

.nav-logo h2 {
    color: #21D4FD;
    font-weight: 700;
}

.nav-logo h2 a {
    color: #21D4FD;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #222;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #21D4FD;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, #21D4FD 0%, #FF5C93 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Upload Area */
.upload-area {
    background: rgba(255,255,255,0.2);
    border: 3px dashed rgba(255,255,255,0.5);
    border-radius: 20px;
    padding: 60px 40px;
    margin: 40px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.upload-area:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.8);
    transform: translateY(-2px);
}

.upload-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.upload-area h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.upload-area p {
    opacity: 0.8;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #FF5C93;
    color: white;
    box-shadow: 0 4px 15px rgba(255,92,147,0.4);
}

.btn-primary:hover {
    background: #e04a7a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,92,147,0.6);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #21D4FD;
}

/* Tools Section */
.tools {
    padding: 80px 0;
    background: white;
}

.tools h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #222;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.tool-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.tool-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.tool-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.tool-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #222;
}

.tool-card p {
    color: #666;
    line-height: 1.6;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: #F6F8FB;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #222;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature {
    text-align: center;
    padding: 40px 20px;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #222;
}

.feature p {
    color: #666;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #222;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 20px;
    color: #21D4FD;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #21D4FD;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .upload-area {
        padding: 40px 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-menu {
        display: none;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Tool Page Styles */
.tool-page {
    padding-top: 70px;
}

.tool-hero {
    background: linear-gradient(135deg, #21D4FD 0%, #FF5C93 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.tool-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.tool-icon-large {
    font-size: 5rem;
    margin-bottom: 20px;
}

.tool-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.tool-hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.upload-area-tool {
    background: rgba(255,255,255,0.2);
    border: 3px dashed rgba(255,255,255,0.5);
    border-radius: 20px;
    padding: 40px;
    margin: 30px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.upload-area-tool:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.8);
}

.tool-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    padding: 10px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.feature-icon {
    font-size: 1.2rem;
}

.how-to-use {
    padding: 80px 0;
    background: white;
}

.how-to-use h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #222;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    text-align: center;
    padding: 30px 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #21D4FD 0%, #FF5C93 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #222;
}

.step p {
    color: #666;
    line-height: 1.6;
}

.faq-section {
    padding: 80px 0;
    background: #F6F8FB;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #222;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #222;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* YouTube Converter Specific */
.url-input-section {
    display: flex;
    gap: 15px;
    max-width: 600px;
    margin: 30px auto;
    flex-wrap: wrap;
    justify-content: center;
}

.url-input {
    flex: 1;
    min-width: 300px;
    padding: 15px 20px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    background: rgba(255,255,255,0.9);
    color: #222;
}

.format-selector, .compression-options, .mode-selector {
    margin: 30px 0;
}

.format-buttons, .option-buttons, .mode-selector {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.format-btn, .option-btn, .mode-btn {
    padding: 10px 20px;
    border: 2px solid rgba(255,255,255,0.5);
    background: transparent;
    color: white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.format-btn:hover, .option-btn:hover, .mode-btn:hover,
.format-btn.active, .option-btn.active, .mode-btn.active {
    background: rgba(255,255,255,0.2);
    border-color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tool-hero h1 {
        font-size: 2rem;
    }
    
    .tool-features {
        flex-direction: column;
        align-items: center;
    }
    
    .url-input-section {
        flex-direction: column;
    }
    
    .url-input {
        min-width: auto;
    }
    
    .format-buttons, .option-buttons, .mode-selector {
        flex-direction: column;
        align-items: center;
    }
}